Translation:Când au scris ei o scrisoare?
Can someone please explain why this is a wrong answer: Când ei au scris o scrisoare
It is correct. This app is sometimes a mess.
It sounds like you are saying "When they wrote a letter..." and that you will continue the sentence instead of ask "When did they write a letter?"