Because we are inherently social creatures. It’s arguably what allowed us to move to the top of the animal hierarchy.
Consider this: if you were to ask a parent “would you rather your child grow up to be wildly intelligent but have sociopathy to the point of being utterly alone, or frankly average (or even dull) intellectually but have a rich social life with meaningful relationships, which would you choose?” I think you’d be hard pressed to find someone willing to take the former.