Update, after some messing around, it has to do with me using google hangouts/dailer. I call the phones actual number and the music stops while on a call and then resumes after I hang up.
I have the nexus 6p with android 6. All music apps do the same thing as described, music keeps playing when a phine call is received and answered. The only other factor is I'm using google hangouts and dialer.