Hello there Elixzr_End,
Thank you for using Apple Support Communities!
We understand that you are having an issue with your device pausing Spotify when are listening with your EarPods. We are more than happy to help you out with this.
To troubleshoot, we recommend testing the issue with a different pair of EarPods. If the issue does not persist with the new EarPods, then the old ones were most likely causing the issue.
If you continue to have the issue, try force quitting Spotify by following the steps in the following article:
How to force an app to close on your iPhone, iPad, or iPod touch
If you continue to have issues after quitting the app, we recommend uninstalling and then reinstalling the application. Follow the steps below for how-to steps:
How to delete apps on your iPhone, iPad, and iPod touch
To reinstall, navigate to the App Store and search for Spotify and press the cloud icon.
We hope this helps! Have a great day!