I have a friend who sounds a lot like you.
He's one of the smarted, most well-read people I know. And he's a mega jerk sometimes.
Typically it comes from a clash of personalities: he likes for people to always think he's right, and I like to question everything. When I imply that something he's said is wrong, the walls go up, the gaslighting starts, and it's usually about as much passive-aggressive projection as I can handle.
But he's an interesting and caring dude otherwise.
I actually don't think you're like that. Maybe a jerk, but not in the same way.
Maybe it's just that people get to a certain point in life where they've heard enough bullshit and thus have a well-calibrated ability to identify time sucking activities and people.
Whatever… I'm talking out of my ass.