To start off, yes, the trait needs to provide a reproductive fitness benefit. The problem is runaway sexual selection [1]. The textbook example of that being the peacock plumage, which is subject to strong sexual selection, yet is a detriment to overall fitness (see link for more details).
[1]: https://en.wikipedia.org/wiki/Fisherian_runaway#Peacocks_and...
I believe in this specific case, it is likely more difficult for males to attract females than avoid predators.