Thanks for getting back to us with that information, hasnainik. It’s appreciated. We also apologize for our mistake. We assumed you meant iTunes for Windows. We’ll focus on your iPhone now.
Since even the songs you’ve downloaded to your iPhone to listen to when offline seems to also be affected, please follow the steps in this article: If an app on your iPhone or iPad stops responding, closes unexpectedly, or won’t open - Apple Support. The Music app is one of the Apple apps that can be deleted. However, you’ll need to redownload any songs you’d previously downloaded to your iPhone.
If the songs still stop playing, please reply with the answers to the following questions:
- Which model of iPhone are you using and which iOS is it currently on? You can locate this information under Settings > General > About.
- When the song stops playing, are you seeing any messages? If so, what is the full text of the message you receive?
All the best.