Breakdown of Que me regañen delante de toda la clase hace que me ponga nerviosa.
Questions & Answers about Que me regañen delante de toda la clase hace que me ponga nerviosa.
Because que here is a conjunction, not a question word.
- que = that, or it introduces a subordinate clause
- qué = what? in direct or indirect questions, or in exclamations
So Que me regañen... is not asking what; it is introducing the idea that they scold me / being scolded.
Because que me regañen delante de toda la clase is functioning as a whole clause that acts like the subject of the sentence.
In English, we often prefer something like:
- Being told off in front of the whole class makes me nervous
- The fact that they tell me off in front of the whole class makes me nervous
Spanish often uses que + verb to build that kind of subject clause.
Because Spanish is treating this as an event or situation, not simply as a neutral factual statement.
Here, que me regañen... is more like:
- being told off...
- the idea/situation of them telling me off...
That is why the subjunctive regañen sounds natural. If you used regañan, it would sound more like a straightforward statement of fact or habit, which is less natural in this structure.