She said, "What are they doing"?

She said, "What are they doing"?

Explanation

She asked what they were doing.

This correctly changes the direct speech into indirect speech by shifting the tense and maintaining proper structure.