To be honest, the nature of the work is that most time working is spent in solitude. It's the same if you write novels or compose operas. Do we also say that writing novels is unfriendly to girls because sitting in front of the typewriter alone is not all that interesting? It is interesting if you are a writer or developer or opera composer because that is the nature of the work.
However, it should be noted that all these fields also have times when you are not deeply immersed in a project during which you socialize, travel, or even party. Many IT shops are run like slave ships with 16 hr days 7 days a week, that is not possible and yes such shops are deeply dysfunctional, and a turn off for psychologically healthy women and men.
However, if one doesn't like being alone and primarily loves to socialize with people, developing software and writing novels are the wrong careers. Not because of a conspiracy. Because of the way the work is. I would also likewise not recommend high pressure sales jobs to introverts.