I'm friends with a lot of my exes but it took time. We didn't just get into it. I don't think you can be friends until you're cool with them dating someone else. That's when you know.
To summarize the particular song a male sings and the behavioral responses of females to song and morphological signals are not genetically inherited in a fixed manner but are determined by learning early in life.