Look at these two questions asking What in English:
-> "you" is doing "what"; here "what" is the object of the action
What is making that noise?
-> "What" is doing the action of making the noise; it's the subject, the "acting" element of the sentence
Look at these other examples:
You will find this structure with a lot of "reversed" expressions, such plaire, manquer, etc...