I have one like that. Officially he is 2e, but tbh the jury will always be out on whether he is 'just' gifted, and that is causing the ASD/ innattentive ADD symptoms, or whether his dual Dx is correct. We have psychs on both sides of the fence.
To be honest, it doesn't really matter. For whatever reason, these social skills are something he struggles with, and so he needs extra help for them. The label isn't really a big deal (and although you will billions of articles and books about 2e, there is no actual way to definitively figure it out.
I actually have two kids who are 2e (one boy, one girl) and one (girl) who is 'just' gifted. Both of the 2e kids struggle with injustice to a greater extent than their 'just' gifted sister. But my son with 2e has greater problems with maturity and social skills than his 2e sister intrinsically (eye contact/ anxiety). But his 2e sister struggles less with her own social ability but has greater problems with others not accepting her iykwim. Interestingly, she has much bigger issues with social justice than her brother such that many people have suggested that she will end up as a high court judge lol. She also exhibits far more of the gifted OEs in general.
Both were vastly ahead at pre-school (dd2 had taught herself to read before she could talk, and ds1 was being run with school aged kids at three, because he just had some of weird innate maths ability...) but to be honest ds1 was pretty socially ordinary at 4 - dead chatty with everyone. The ASD/ innattentiveness became obvious later - you can read up on the differences / similarities between ADHD hyperfocus and giftedness, but again - can be impossible to work out which is which in reality. Teachers would struggle to keep him engaged as there is so much repetition in the early years, so he would listen, get it, but then daydream as he had already learned the point of the lesson (or knew it anyway) so he found the mindless repetitiveness very hard going. His teachers loved him, would joke with him on a much more mature level, and knew he understood whatever was going on. Sadly, they did all let him down a bit, because the lack of challenge and expectation to complete the same work as everyone else meant that he developed no actual study skills whatsoever, and to this day he still entirely relies on hearing something once and then churning it back out when needed.
Ds1 didn't pick up a dx until he was 9, btw - purely because his teachers knew that he was ahead in academic terms, so the rest of his issues weren't really addressed.
Dd2 has always been recognised as 2e as her disability is much more obvious (she has cp, not AS, although we also wondered about AS early on as tbh she was pretty quirky
her issues are definitely not ASD though, but I think most parents of gifted kids ponder AS at some point lol)