Hi there
Please try this
Turn off AutoMix / Crossfade: Go to settings and ensure that features like AutoMix or continuous playback/transitions are completely turned off, as Hi-Res Lossless requires them to be disabled to prevent container conflicts.
Check Audio Path/HDMI/eARC: If your Apple TV is routed through a TV via eARC rather than directly plugged into an AV receiver or DAC, the TV's internal EDID handshake may downsample the high-res stream back to 48 kHz. Try plugging the Apple TV directly into your audio receiver if possible.
Restart / Power Cycle: Unplug the Apple TV 4K from power completely for a minute, then plug it back in to force an updated hardware handshake