> If someone is highly intelligent, they will realize acting like a jerk is not helpful and causes them problems
Being intelligent does not mean someone is good at self-awareness.
Being intelligent does not mean someone is good at self-awareness.
Aptitude with a technology certainly correlates with intelligence, but it doesn't necessarily imply above-average intelligence.
Some people attain their skills through Herculean levels of hard work, rather than reading about it once and the information just clicking because of their excellent brains. (Though, in my experience, they tend to also be less arrogant than techno-prodigies, but YMMV.)
Self-awareness is, similarly, orthogonal to intelligence (as you correctly state).
I find it interesting that an assumption of equivalence (or, at least, strong correlation) is so prevalent among tech workers and their friends.