pre-noun adjectival
Pre-noun adjectival (rentaishi) used to ask about the nature, reason, or manner of something. Often translates to 'what kind of', 'what', or 'why' depending on context. Typically written in kana.
どうした理由で遅刻したの?
For what reason were you late?
どうした風の吹き回しですか?
What's gotten into you? (lit. What kind of wind is blowing?)