Why does NASA let male astronauts stay in space longer than females?

I am all for equal rights, male and female, and am curious what positive results it has brought... From my experiences and understanding from the movement:

Car insurance reduced for men but increased for women to avoid sexism

"Car insurance: why women face £300 rise in premiums"


Women having equal job opportunities has allowed people like myself to purchase a property on the joint salary which prevented competition from the original male salary x3.5/ year or x4/ year.

"The LTI limit restricts the amount of money you can borrow to a maximum of 3.5 times your gross income. So for example, a couple with a combined income of €100,000 you can borrow up to a maximum of €350,000."

https://www.centralbank.ie/consumer-hub/explainers/what-are-the-mortgage-measures

Male life expectancy is catching women's or women's is dropping to mens.

"Females have a higher life expectancy than males, but this gender gap narrowed from 4.4 years in 2011 to 3.8 in 2016."

.