"because the people." This refers to the same people who came to John.
"they all were wondering in their hearts if John might be the Christ"