This is also a problem for me and has been an issue since an update mid to late 2022.
This is a firmware issue in detecting an output 3.5 audio jack being plugged into the devices while running, only working if the jack was plugged in during a boot/restart.
I am beginning to lose faith in support here as this is getting no attention by Microsoft, if they are they are being super quiet about it. This issue is affecting multiple devices across multiple brands. I have a laptop that requires movement between multiple spaces and audio output is required. I hate having to restart my laptop 3-5 times a day just to get it working correctly.
Getting fed up with this...