I'm a physicist, and a performing jazz musician. I've read articles about certain occupations being associated with musicians, and speculating about the connection. My mom believed that music would make her kids smarter. Classical music, that is.
Personally, I think it may simply boil down to music being a long term commitment to something you value, a way to mentally reboot, and a different cast of characters than you deal with in your day job.