I said to him, "Why are you working so hard?"
I said to him, "Why are you working so hard?"
Explanation
The correct indirect speech is "I asked him why he was working so hard."
The question structure changes to a statement format, and "are" changes to "was" to maintain tense consistency in reported speech.