Could there be a difference in the social reward centers of the brain, based on gender, possibly from the biological necessities of having children? We know reward centers are not the same, between the sexes, since heterosexual attraction is the norm (and why gay conversion therapy can't work). Some brain structure and function is hard coded.
Could these hormone influenced reward centers differ in social rewards, or for human interaction? Computers are not human. Maybe [1], but don't expect much research proving it one way or the other.
How would that explain the very basic fact that most programmers were women in the early days of computing? It can't. The most important factors deciding which gender is most represented in programming are sociological.
You need to look at the history of it all. There wasn't the freedom back then, that we have now, where women could choose their profession based on personal interest. Back then programmers were women. It wasn't considered a man's job [1].
When you look at the history of it all, it clearly shows that men have always been misogynistic bigots oppressing and driving women out of educational opportunities and professional careers, and they still all, even more so today than ten years ago, due to the rise of GamerGate, MAGA and Project 2025.