I'd like to add that saying that humans like "music" is already begging half of the question.
There are certain tonal combinations that we consider "music" and there are certain ones that we consider a disonant cacophany. Why are some combinations pleasing and others displeasing?
Certain relationships between tones are considered by humans to be harmonic while others are not. Here is a
link to a very advanced article on the whole thing.
It turns out that simple ratios like 5/4 and 4/3 produce pleasing harmonies for people. These ratios are interesting because they are small whole integer ratios. The universe, meanwhile, has no problem incorporating irrational numbers into its functioning (pi, e, etc.).
The aesthetics of harmony show that the human brain may be hard-wired to enjoy simple paterns and low-number relationships even when the relationships are not easily explainable or apparent.
Before we discuss what evolutionary reason there might be for enjoying music, I think we need to settle the question of what evolutionary reason there might be for
considering some things to even be music.