For Atmos enjoyment you need an Atmos decoder.
When it comes to Apple Music, then there is a lot of confusion around it.
For one, using iPad or iPhone and Apple EarPods, you can listen to Atmos through Apple Spatial renderer - this will attempt to recreate spatial effect via 2 speakers only.
To really hear Atmos music from Apple Music as Atmos immersive audio (without Apple Spatial Renderer), you need to use appleTV and connect it to Atmos capable processor/AVR/soundbar,
For detailed explanation see this article and especially section titled "5 - Apple's "Spatial Audio" Mess"
https://www.pro-tools-expert.com/production-expert-1/why-your-atmos-mix-will-sound-different-on-apple-music