question about ADHD spouse's behavior

My husband regularly points out to the rest of the family when they're wrong about some fact.  Typically, he'll disagree with what the person said and then whip out his phone to check the Internet and prove his point. Is this "I have to be right" or "I don't know when I'm acting superior" (or both)?