In writing, you recognize a question thanks to the question mark (?) at the end.
In speech, you recognize it thanks to rising intonation, which the text-to-speech software unfortunately fails to deliver.
"You are not a girl?" (still a question) is also a valid and accepted translation here.