There is a bug in the latest Apple TVOS version 18 firmware update with Dolby audio output and it isn't fixed yet. I have had Atmos not show up at all or being reported as Spacial Audio. Others report Dolby 5.1 is now just 2.1 stereo
Lots of complaining here but Apple is aware of it and working on a fix.