This is reported speech. The question was originally "Where do you come from?" or "Where did you come from?"
When reporting a question, the word order changes from interrogative to declarative (subject + verb).
"Where he came" is the correct reported question structure in the past tense, assuming the asking happened in the past and the origin is a past event or state.