I can't find an artists on my account, but my friends can find them.
Are your friends also using an Apple Music subscription, and in the same region (country) as you? (Notably the region for your Apple ID, rather than your physical location at this time.)
After purchasing Apple Music subscription after 2 months that I'm not used the service, all of my ex songs deleted.
Your old library was saved for 30 days in case you would re-subscribe, but not after that time.
And I can't play Explicit songs while they exist.
Check Settings﹥Screen Time﹥Content & Privacy Restrictions﹥Content Restrictions﹥Music, Podcasts & News﹥Clean|Explicit
Or possibly your region (national regulations) may influence these restrictions as well.