Like, mate. Evolution considers traumatic insemination acceptable. It considers literally eating your mate acceptable. It considers the reproducing critter dying in the process acceptable. What evolution considers acceptable is a goddamn horrible metric for what is or isn't dangerous. It does not give a single sodden damn about you once you breed a sufficient amount, and it doesn't matter much more than that what condition you're in before or after, so long as you're managing it, so far as evolution is concerned.
Life expectancy for women is higher for a number of reasons, from societal norms leading to safer behavior to less genetic problems to better interpersonal relationships. It wasn't until pretty damn recently, historically, that birth stopped being one of the major causes of death or maiming for women, because evolution will entirely cheerfully fuck someone up in the process of giving birth. It just didn't get mentioned much because people then (and still, in lesser number and sometimes less bluntly) felt entirely comfortable shitting all over women on every front imaginable.
Even with the better practices these days, it's still something that kills even people in otherwise good health, still something that can cripple or permanently injure someone, still something fucking fraught with potential complications that can take months or years to recover from even without more severe consequences. You're safer skydiving than giving birth, near as I can tell from a quick stats reminder pretty damn significantly.
e: seriously, 2020 stats for the US in regards to just fatalities and just live births had it pegged at about 61 times more likely to kill you than skydiving. Alligators kill about one person a year statside, putting wrestling somewhere in the range of several hundred times less likely to kill you than birth, and none of that is getting into other complications.
This is what I mean by downplaying the dangers involved, when someone's listing out more "dangerous" behavior that's wildly less likely to kill a person than giving birth is.