Learning ability and social ability are two very important things for people to stand in society, and they are indispensable. Learning well but not interacting with others is a nerd. Only communication, without knowledge, is a fool. Everyone has shortcomings and advantages. Learn to learn good things from others.
It's actually quite good that you are studying well now. I guess you also realize that people should have more friends and be more open, so they should learn social skills. You can associate with them at ordinary times, but don't get involved, or buy some social books to read. There are many. You are sure to succeed.