Hi there! It's not recommended to use modded APKs for apps like Spotify and any other apps you have. One reason is that it's not safe and can compromise your personal information and data stored on your device. häçkers can access your data, and there is always the risk of malware infection when downloading modded APKs.
Regarding your experience, it's possible that someone else gained access to your account since you used a modded version. This is because when you install a modded version of an app, you're exposing your credentials to unknown people who developed the mod. They could use your username and password for their benefit, which is exactly what seems to have happened in your case.
To protect yourself from this kind of scenario, please don't use modded apps or häçk into any game or app. It's better to use official versions of apps and games available on the Google Play Store or Apple App Store.