I think people can adapt and grow to like almost anything taste wise, given the right timing and circumstances.
To give an hypothetical example, if you never liked dancehall but went to live in JA whilst dancehall was at its most furtive. I think you would slowly begin to appreciate it's qualities, then find some area of it that really clicked with you, eventually growing to love it.
But that doesn't mean everybody is going to love everything. Obviously you may wilfully stay in your lane and never gain that transformative experience. You may simply have no interest in the arts whatsoever.
Beyond the nurture side of it, people are wired to react to stimuli based on their genetics, mental characteristics, life/emotional baggage etc. Another extreme example - depending on where you fall on the psychopath scale is surely going to affect how you react to emotional stimuli in music. It may well even effect taste
https://www.theguardian.com/science...s-prefer-rap-over-classical-music-study-shows
We also mix the two, if you were very angry growing up, maybe due to a traumatic upbringing, you may lean into that anger or try and sooth it away. Either way your tastes are going to be affected. It seems obvious that your brain chemistry has a fair amount to do with whether your tastes skew towards harder or more gentle styles of music.
In the 00s I knew a guy who was in a successful Emo band and he told me he didn't really see the point of music that wasn't shouty and aggressive. We like to create these bullshit narratives to impress our personalities upon others. Everything must be seen through that narrative's specific spectrum, and if it doesn't fit excluded as unworthy. When you're a kid you do this all the time. Then a few years later you disown that previous version of yourself as dumb and childish. From your late teenage years onwards it seems to codify into something hopefully representing a proper personality, but it's still bullshit.
There's also this tendency for generations to connect more with certain eras, maybe the decade they were born. Also to have a dislike for some aspect of the music of the generation directly before them, or directly before when they 'really' got into music. It speaks of that constant drive for the new, that teenage desperation to be fresher than fresh, cooler than cool. But obviously it's a wheel that is constantly turning.
Sometimes I wonder about the opposite of immersion. If you had no outside influence. If you existed purely in a bubble with no context, no sphere of influence, no contact, no reaction. Nobody there to impress with how great your taste is, or how smart & culturally informed you are. Just a radio dial, randomly playing every kind of music. What would you tune into then? How would you assetain good from bad?