It's more like developing a liking.
For example, most people like Walkers Crisps, some don't. I certainly don't, but some do. I don't think it's genetic, nor is it because of mental thing, or event. It's a matter of what you like. It's a sexual preference.