I like the pausing, rather than just muting the music, as I prefer that it continues on where it left off.
I don't know if there is a way to change the behavior.
But, you could submit that to Apple as a "bug", although I suspect it is planned behavior.