In Aristotle's physiology, when nature is acting effectively it produces a male, when the agent cause is impaired in some way, it produces a female. Thus in Aristotle's understanding of human conception, a woman is a mistake.
— Women and the Shaping of Catholicism by Gary Macy, Richard Miller, William Harmless, and 4 others (Page 2)
This perception of the greater culture led to poor treatment of women by the church. I think today similarly the false teaching of the worldly culture that men and women are the same is also leading to mistreatment of women by some members of the church.
