Sadly with today's auto-detecting OSes I've more than once found my audio output setting itself to speakers, or worse, to my monitor (which doesn't and has never had speakers, but that doesn't seem to matter).
I joined a meeting one day, couldn't hear anyone, turned the volume up before checking the output device (because I rarely ever change them) and ... it was connected to my kitchen Bluetooth. I had been blasting my wife with a meeting room full of people shouting "CAN YOU HEAR US NOW??"
This. Never had any issue with my wireless headphones, but Teams insists on picking random outputs and inputs even from one call to the next.
The only logic I've found is that it prefers devices that handle both input and output. So, it works OK with my combined headphones + mic, but if I want to use my external dedicated mic + headphones without mic, I have to fiddle with the settings whenever I join a new call.
We have webex and Teams at work. Neither one of them are great but unless I'm missing something Teams lacked a precheck feature where I can test my Mic before actually joining the meeting which is easily the main reason I despise it. Teams also occasionally just refuses to work with part of my audio setup until I rejoin so it also the one that I need the precheck for most.