I am a bit naive, but when you write and comment on ways that challenges and exposes trolls, misogyny, racism, bigotry — doesn’t that naturally elicit an attack to defend their position? And an effective attack is to discredit character in a way that undermines credibility — basically, “if you’re unqualified, than my argument is valid and I’m not a bigot”, which loosely translates as “your words challenge my view of the world and I’m not going to accept them right now, so here is why your words are wrong”.
I’m not saying it doesn’t suck, or to stop challenging and exposing bigotry, but maybe such comments are an opportunity for compassion instead of resentment. Intolerance exists out of fear to protect something, possibly self-worth or beliefs tied to self-identity. The character attack is just protection, but oddly, it is very dismantling when someone comes back and says, “I am sorry for coming across this way. I get some shit slung my way which you probably don’t see, and so experience the world differently. My words may feel threatening or blown out of proportion, but that’s why these words are said — so it doesn’t go unnoticed.” It often is met with more shit, but what I’ve learned is that when you respond with acceptance and compassion (and still stick to your point), your words are heard in a way which will slowly lead to change.