Hello ashpreet01,
Are the songs showing as greyed out in Apple Music? If so, we recommend the steps from If your songs are grayed out - Apple Support:
If all or most of your music is grayed out
Sync Library might be turned off or unable to connect to the internet on one of your devices. Check the following:
If a song isn't available in Apple Music
Some songs or albums might be grayed out because they're not currently available in Apple Music. Here are some reasons why:
- Artists and content providers might release some songs from an album in advance, but not all of them. If you add the entire album to your library, the songs will become available as they're released.
- Artists and content providers might change or remove music from the Apple Music catalog. Search Apple Music to see if that song is available under a different name or file. If it is, add the song to your library so it's no longer grayed out.
- The song might not be available in your country or region and will appear in gray text when you search for it in Apple Music.
- If an explicit song is grayed out, you might have restrictions turned on for your device. You can use Screen Time on your iPhone, iPad, or iPod touch, or Screen Time on your Mac to turn off restrictions. You can also add the clean version from Apple Music to your library.
Thanks for using Apple Support Communities!