Why are women’s bike frames shaped differently than mens?

Why are women’s bike frames shaped differently than mens?

Men’s bike frames don’t slope down but women’s bike frames do. What is the reason for this. the only (old fashioned) reason that i can think of is because of women wearing skirts. Any answers?
Incoming search terms for the article:how to modifiy girls bike frame to mens bike frame