Young women are attracted to young men who take unnecessary risks in extreme displays of their adult skills. Today it's smoking the wheels of cars, not so long ago it was jumping out of trees onto wild buffalo. Every hero in every action movie does the same thing, no matter what is thrown at the hero he gets up and keeps going, no matter what the hero blows up or how many bullets he shoots no innocent bystander is ever hurt.
Young women are not attracted to 'idiots' that crash and burn, they are attracted to 'heros' who's skills and strength keep them alive and healthy despite the odds. It's not a conscious thing in either sex, "cheating death" is an integral part of the human ritual of finding a suitable mate, it's so deeply ingrained in humans that a males brain chemistry will reward "cheating death" with feelings of elation, pride, and self-satisfaction.
Looking back as an old man who had the luck to survive the motorbike ritual (among others), young men really do behave like peacocks, the things they unconsciously do to attract a mate are even more dangerous to the individual than that ridiculous tail is to the peacock. At the end of the day it does make our societies (if not our species) better suited to the civilizations we invented. We are continually evolving and are in a feedback loop with the environment we have created for ourselves, not unlike the termite and it's air-conditioned fungus farm.