I think I enjoy music because I can listen to it while doing creative endeavors, such as writing or coding, and during most of my workday as well. I’m not sure I like listening to music without doing something else, though, which is a little weird.
The most intensely focused music listening sessions of my life involved trying to learn to sing and/or play a part, which I no longer do, unfortunately. Now, most of my music listening happens during work, and a small, but usually more satisfying, amount happens while I am writing and coding on my own time late in the evening.
I think that listening to music while I am doing something else occupies that part of my mind that wants to wander and do something else, so that I can focus more closely on the task at hand.