The biological effect of music on our brain has many studies.
https://www.pfizer.com/news/articles/why_and_how_music_moves...
Given how profound the impact seems to be, I would be very surprised if there's no biological component to the correlation between the occupations and the music - but almost certainly the cultural aspect would also play a major role.