Purchases I did not download do not appear in iTunes library
The first item is to check on the iPhone to be sure you are using the iCloud Music Library / iTunes Match / Apple Music settings there as you expect.

Then you’ll repeat the inspection on all other devices to have them match up with your iPhone if that has the library / playlists / features and media you want to go to all the devices.