i think the issue isn't the politics at all but the fact that most people doing it just aren't very good writers. As a result, trying to handle these heavier topics comes off clumsy at best and obviously pandering at worst.There's nothing wrong with a story being political. Stories have gotten political for over a century now. It's just that so many modern stories either grind the story to a halt to soapbox directly to the audience, or are insincere with their messege just so they can pander to certain demographs.
This is why I always bring up the idw TF comics whenever lgbt stuff in comics comes up, because they handled it well years before it became the "thing to do" for clicks or comic sales. You just had writers interested in exploring those concepts, no ulterior motives. You wouldn't even know X character was gay or whatever until you were 10 chapters into a run. It wasn't a marketing ploy, they cared about what they were doing.