I'll describe how my taste for music evolved and attributes of my life that were related. It might serve as raw data.
I got into music quite late at around my tenth grade. At that time, my ipod was filled with popular music like Linkin Park and Akon. I was music neutral until i came across the Diary of jane (Breaking Benjamin,Alternative). At this point, I was having a rough period with my Girlfriend and I felt i could relate to this song. Further exploring alternative I found that it was a good description of how my teenage days were (I was a socially awkward child).
Then I got introduced to bands like slipknot and disturbed. I started favoring these songs after my break up. Some thing about the loudness in these songs made me feel powerful again. I didn't depart completely into death metal. I found those music to be unnervingly noisy, although Arch enemy was an exception, because the lyrics were comprehensible. I disliked pop with female artists, probably because most of the songs were only about love (Note the shallowness). But I could relate to bands with male vocals like Poets of the fall. I Also disliked punk rock because it felt to bright and cacophonous (even if the vocals were by male artists). Although I'm no introvert, I do appreciate harmony and avoid huge gatherings.
As I grew older, I tried out jazz and Blues. I was in and out of crushes at this point and was undergoing my emotionally unstable phase. I was also into instrumental music and post progressive rock. I found this music as the best choice for ambient music. It also went well with "Highs".Also found grunge and psychadelic music to be nice.
Then I discovered Indie. Although this genre is very broad, some aspects of it appealed. It had a bight melodious note with smooth vocals and got me in a jumpy mood. I found this especially nice during my work life when i had to overcome stress and still stay happy.
So in my case, my tastes in music are influenced by changes in lifestyle.