These days, it seems the less moderate people prefer more and more to insulate themselves ideologically, shielding themselves with confirmation bias and doing everything they can to reinforce their cherished beliefs, no matter how narrow. And I've said this several times before: actors often take roles that are at odds with their beliefs or ideology because it challenges them. It's not a stretch actingwise when you're being who you are, like Nic Cage in "Leaving Las Vegas."
Anthony Hopkins didn't play Hannibal Lecture because he likes serial killers and neither did Charlize Theron. So I have a hard time faulting someone for being anti-gun while playing a shooter any more than an anti-drug crusader playing a dealer. But I do agree that with other things it's easier to strip away the ideology from the service or product - there's a reason my trash bin from time to time had a black and white "Extremely Right Wing" bumper sticker in it. But with a movie, who do you fault? The director? The studio? The actor? The writer? From my experience in Hollywood, you rarely find a production team that is ideologically in lockstep, as much as that may go against the modern conservative narrative.