This study is a beautiful case for Evolutionary Psychology, which is simply the investigation of the universal constraints inherent in species that make use of sexual reproduction - in this case species that are hermaphrodites, i.e. where all members can be male and female - either permanently or by switching gender over time.
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4292172/