At least one ancient flute was made with approximately the same octave shifts in notes that we use today. The musicality is built into us at a genetic level to appreciate as we do.
I have a theory that desire for music in some animals (including us) began because of our heartbeats. Heartbeats would also be associated with being embraced by someone (head to chest) which could also connect to our fondness of it.
Hmm, this makes me wonder if there's a correlation between musical interest and the presence of a embracing parent at birth.
Medical science also seems to support an association between music and heartbeats. There are a lot of very popular songs that are the correct BPM for CPR.
An octive is literally twice the frequency of the notes below it, how is that genetic? The only thing that unique in music is that a 3/2 ratio (a perfect fifth) only makes sense in 5, 7, and 12 note scales and even then it's slightly out of tune by a couple of cents so you can either use relative temperment or even temperment depending on preference. Alternatively you can optimize for other ratios and get all microtonal.