[Question] Why do we enjoy music?

Enjoying music doesn’t seem to have any obvious purpose. Sure you can argue it strengthens social bonds, but why specifically sounds arranged in patterns through time over anything else?

At least with humor you can say it’s about identifying the generating function of some observation which is sort of like reducing prediction error in predictive coding (and I suspect something like this is the basis for aesthetics) but I can’t fit music into being anything like this.