It also developed from scientists trying to keep things simple. Women's bodies are a lot more complicated than men's in terms of varying ratios of hormones, pregnancy, etc that have to be accounted for in studies. Same reason HeLa cells and genetically-identical mice are used.
It's still not a justifiable reason to neglect 50% of the population under the incorrect assumption that human physiology is the same across the board.