The 21-year-old woman was carefully trained not to flirt with anyone who came into the laboratory over the course of several months. She kept eye contact and conversation to a minimum. She never used makeup or perfume, kept her hair in a simple ponytail, and always wore jeans and a plain T-shirt.

Each of the young men thought she was simply a fellow student at Florida State University participating in the experiment, which ostensibly consisted of her and the man assembling a puzzle of Lego blocks. But the real experiment came later, when each man rated her attractiveness. Previous research had shown that a woman at the fertile stage of her menstrual cycle seems more attractive, and that same effect was observed here — but only when this woman was rated by a man who wasn’t already involved with someone else.

The other guys, the ones in romantic relationships, rated her as significantly less attractive when she was at the peak stage of fertility, presumably because at some level they sensed she then posed the greatest threat to their long-term relationships. To avoid being enticed to stray, they apparently told themselves she wasn’t all that hot anyway.

This experiment was part of a new trend in evolutionary psychology to study “relationship maintenance.” Earlier research emphasized how evolution primed us to meet and mate: how men and women choose partners by looking for cues like facial symmetry, body shape, social status and resources.