It depends on the child. Contrary to popular belief, not all bright children are socially inept. Some are lucky enough to combine academic brightness with mature understanding of other people's feelings and a highly developed interest in what makes other people tick.
Dd did fine socially simply by modifying her games and topics of conversation according to the people around. I don't think she even found it a hardship, just something that made life more interesting. She would quite happily play tag in the playground and then come home and discuss literature with me. Afaik she never saw one as exclusive of the other.
Other children find it very difficult. But tbh rigid adherence to your own viewpoint and difficulty in understanding social cues is also something found in non-gifted children. And in adults: it's not only the super gifted ones that find it hard to adapt to different ways of thinking! Often it is a question of maturity, though. I was gifted, but also socially immature. I changed a lot as I grew older.
But naturally, most parents whose children struggle would rather talk of it in terms of brightness than in terms of social ineptness. In a way, I think that is doing the child a disservice. If a child is struggling due to social immaturity, they should have support with that, quite regardless of whether they are bright or not.
In my dcs' case, both are socially talented, but dd is also academically gifted, whilst ds is not. So in their case, sociability seems totally distinct from academic talent: I reckon they both got the sociability gene from MIL, and dd got the academic gene from me.