Long-distance running on the savanna exerted many selective pressures on early humans.
Hearing rhythmic sounds in your head could arise from prehistoric humans running in groups together- music / songs on repeat helps synchronize pace and maintain tight formation.
The Bipedal Hypothesis: