I'm no genius by any means, I get into this topic a bit with a few friends of mine who exhibit this genius/jerk persona. They're great, sincere, loyal, and friendly in a million ways too: love em to death. I want to emphasize this because I don't want the jerk label to be too much of a dismissal.
I can agree that for them I think "jerk-ness" is really connected to dive and passion to be deeply informed and meaningfully correct. Everything else can feel like a distraction, or extra, or dancing around the point. And they can typically take being proven wrong gracefully because they respect correctness.
But I also find it (playfully) funny when they jump through logical contortions, ad-hoc speculation, just-so thinking when it comes to defending these things. If anyone had come to them with arguments structured so arbitrarily they would have ripped them to shreds for being unfounded and self-serving.
My take: Being a jerk is just as much a personal/emotional quirk. The challenges they have with managing the different odd logics of "emotion-y" things make valuing civility for others BUT ALSO to logically frame a convincing path for why they should be bothered to do anything different.