If you are using unofficial headsets, this situation is caused by the different parameters and specifications of third-party headsets, and some functions are not fully compatible with the mobile phone. It is recommended that you enter the mobile phone settings--Jovi--Jovi capability settings--voice assistant--button wake-up--turn off "wired headset wake-up, Bluetooth headset wake-up";
You can also try to enter the music software Settings, turn off options such as "Switch songs with headphones or Bluetooth", "Switch songs with headphones or wired control".