Why does my Samsung S7 play music automatically?

Just recently noticed that my S7 plays music automatically when I have my earphones plugged in. It seems like a glitch with the phone. I haven't changed any settings. It even plays music when I'm not within my music app and randonly brings up S-Voice. When I unplug my earphones, the problem goes away. Would appreciate a reason and any solutions. Thanks.

Hmmm... I can't reproduce it in my S7 here.. There was a thread with that tune playing at random times and deleting that silly wallflower or whatever it was called fixed that issue for the posters.
Does it play your music, or some canned Samsung tune?