iTunes and Apple Music are 2 different things, one is not replacing the other.
iTunes can refer to either the iTunes Application or the iTunes Store. The iTunes application was replaced only in macOS Catalina with the Music App. In older versions of macOS and on Windows, the iTunes application continues to exist.
Apple Music is a subscription service available in both the iTunes application and the Music app. Apple Music does not in any way supersede or replace either the iTunes application nor the iTunes Store.
Songs can come from either the iTunes Store as a purchase you can keep, and from the Apple Music subscription service as a download or stream that you can only access while you are subscribed.
With that said, what you have there is an indication, the cloud with the x inside, that the song S&M was deleted from another computer that has your music library and has Music sync turned on. It still exists on iCloud and can be downloaded from there as evidenced by the other entry with the downward arrow coming out of the cloud.
They are not 2 copies of the same song. They are indicators of what you can do or did with that song.
See here: Identify cloud status icons in your music library on your Mac or PC - Apple Support