Random pausing of music on both Spotify and Amazon Music

Just got my headphones yesterday. When using them for listening to music with my Pixel 4a phone, the music will randomly pause, then I have to hit play to resume music. This happens with both Spotify and Amazon Music, and happens even with downloaded music. Sometimes it happens several times within a single song. Has anyone else experienced this? I only have this issue when using the Wyze headphones.