Very interesting problem to even consider. That said, I don’t think we even understand the what, how, and why of music. The rhythm precognition aspect mentioned in another comment makes me think it’s just a byproduct of time and counting with pattern recognition, not necessarily a music thing just a correlation by virtue of physics and the laws of the universe.