What i've learned (unfortunately the hard way) is that often in society, you can not only get in trouble for what you say, but even for bringing up a topic at all.
Consider it like this: If you (male) went into an office and meet a coworker (female) and say something like: "I like your outfit" it could get you in trouble with HR. But also if you say: "I don't like your outfit", it will also get you in trouble with HR. The problem isn't what you say, but that you bring it up (that you talk about how a coworker woman looks) at all.
Something similar is happening with other things. Like, when you're discussing teen sexuality, even if you're bringing up good arguments, it is likely that that will bring you in trouble, not only for what you said, but especially also for daring to speak about such a sensitive topic. Taboos (things one doesn't speak about) are very real in society.
Something similar might have happened in your case.