The problem isn't with intelligence, it's the fact that gifted kids are often left in average classrooms rather than placed among their peers. Everyone is liable to develop awkward social habits if they grow up outside their peer group, regardless of how intelligent they are.
Also, a lot of the traits people mention when talking about smart, awkward people are common signs of Asperger's...