Hi Angad615,
Thanks for using Apple Support Communities. It sounds like you’re having trouble playing explicit music on your iPhone. I’m happy to help. I suggest reviewing the below steps to make sure you’ve adjusted your restriction settings accordingly:
Prevent explicit content and content ratings
You can also prevent the playback of music with explicit content and movies or TV shows with specific ratings. Apps also have ratings that can be configured using content restrictions.
To restrict explicit content and content ratings:
- Go to Settings and tap Screen Time.
- Tap Content & Privacy Restrictions, then tap Content Restrictions.
- Choose the settings you want for each feature or setting under Allowed Store Content.
Here are the types of content that you can restrict:
- Ratings For: Select the country or region in the ratings section to automatically apply the appropriate content ratings for that region
- Music, Podcasts & News: Prevent the playback of music, music videos, podcasts, and news containing explicit content
- Music Profiles & Posts: Prevent sharing what you're listening to with friends and seeing what they're listening to
Use parental controls on your child's iPhone, iPad, and iPod touch - Apple Support
If that doesn't help, I suggest disabling "Content & Privacy Restrictions altogether, restarting your device, and then trying to play your music. If it successfully plays, try enabling your restrictions again.
Take care.