Same answer I have posted on another thread (I apologize if I annoyed anyone for "cross post")
Apple Music does NOT do "EXCLUSIVE MODE"
Meaning, the application itself will not "take over" and stream to your DAC with the native bitrate of the music you're playing via Apple Music.
It will ONLY follow a fixed bit rate which you have set on Audio MIDI Setup for the connected DAC.
For example if you set Audio MIDI Setup for your $15k DAC from Nagra at 96k/24bit, all your music played from Apple Music App on your Macbook will be streamed at 96k/24bit, doesn't matter if the track itself is 44.1k or 96k.
Bottomline, playing music from Apple Music App using a Macbook is not bit-perfect, as it will resampled by whatever fixed setting at Audio MIDI Setup.
Using other player, for example Roon, which has "exclusive" mode will ignore sampling rate setting from Audio MIDI Setup and play tracks matching the material sample rate, up to the max supported bitrate of your DAC.
Playing on iOS, on the other hand, is bit-perfect, aka, no resampling.
Which is a shame on Apple how they have missed this on the MacOS Apple Music app. They need to get it fixed ASAP!