I just googled it out of curiosity and I gather from Wikipedia, if a species has more females, the families with male children will reproduce more than the families with female children, and the give birth to male genes will then rise up to 50 percent of the population.