It will hand off from the device it’s been played from.
Say for example you open Apple Music from Apple Watch it will play it from Watch.
If you open pandora from phone it will play audio from Phone. As long as you have WiFi enabled it it uses handoff to play sound from current Apple device.