I remember a paper long time ago that claimed that one reason why women have higher life spans than men is lower iron content in their blood due to menstruation.
https://www.researchgate.net/figure/Mortality-rate-for-men-a...
Basically, for whatever reason, a larger sex chromosome (X is much bigger than Y) confers a better chance of survival.
Perhaps the riskiness of male behavior in humans is built in at the chromosonal level...