Perhaps it's the other way around. One's mood determines what type of music a person listens to. I find that after a long day at work, I like to come home and relax, so I won't put on Opeth or King Crimson. Similarly, if I'm not in a contemplative mood, I won't put on Tangerine Dream or something along those lines. Most of the time, though, I find myself listening to a wide range of musical styles regardless of mood.