何を悩んでいるの
What is troubling you?
何をそんなに興奮しているんだ
What are you so excited about?
I keep seeing sentences like the above where verbs, which seem to me to be intransitive, are taking 何 as an object. Are these examples of a larger class of cases where this happens? Can someone please explain what is going on with the grammar here?
I feel that this question must be related but I doubt there is any accusatory tone in the examples I am looking at.
悩む⑴〘自〙❶ ... 語法 〜ヲに〈悩みの内容〉を表す語をとって他動詞としても使う。「いかに生きるべきかを━」