WhatsApp Messaging Interrupts Music While the Wireless Headset is connected
you can try to change the settings Sound-&gt;Earphone mode-&gt;Notification ringtone in earphones to never. Downside: you won't get any notifications on your Headset anymore.
I hope it helps.

Edit: This setting is available in OxygenOS if anyone else is facing this problem