Ritu asked Anita what the matter was.
In indirect speech, the Wh-question is reported using the reporting verb "asked," the conjunction is the question word itself ("what"), and the sentence changes to affirmative (statement) word order. Tense shifts: "is" → "was."