Why do individuals initially dislike things that they end up ultimately liking? Background: I noticed with a lot of things, but especially music I tend to hate certain songs and albums initially but they always seem to grow on me, and vice versa. I noticed this pattern in a lot of my friends as well so my question is:

Why do humans dislike things they normally like later on?
It could be the case that it takes time to like some thinks. We get habituated by being exposed to the same stimuli, here music. The dislike decreases after repeated presentations and the likeness may occur, if at all. At the same time, there is a continuous 'strive' between 'familiarity' and 'change'. The experience of 'change' we face by listening to some songs at the beginning, might become the experience of 'familiar' sounds and the liking could develop.
The same experience I've had with some food preparations.