The correct term is rhetorical question, and yes, in this case it is a rhetorical question. Also there is no "why" in the Japanese sentence.
Japanese people often use like that, especially to confirm what has already been said, for example:
> A: = It's me!
>
> B: ... = So it's you (huh)...