It feels fair to me. Both Ana and Anna have different pronunciations. I can get the question marks, though they don't seem to be marked as errors, just remarks.
If it makes you feel any better, if you translate the Finnish pronoun of hän, to they. Duolingo will fail you because the correct answer is to use ETHER he or she. Which one though doesn't matter and you are free to change it the next time the question comes around.
This is an audio prompt which you must listen to and then type. OP correctly typed the sentence but didn't know how the speaker prefers to spell their name and so it was marked incorrect.