The AirPods Pro have a new functionality in the last version of firmware. They can be connected to multiple devices at the same time, to reproduce the audio where you play. It is something like dynamically changing devices. It works quite well between the iOS ecosystem.
Still sometimes it crashes with the mac. It works perfect with iPhones. If you are using the Mac with the Airpods and you play a sound on the iPhone, the mobile has priority and starts using the headphones automatically.
I supose that this system goes outside of the usual Bluetooth protocols. It is possible that this operation causes problems in other devices that do not know this protocol. Surely windows is not doing anything strange, just using them as a normal headphones. However, the headphones try to listen to the other familiar devices around them (like your iphone) preparing to switch if necessary. This behavior causes breaks in the connection with windows.
Like I said, it's just my guess. As a general rule, many headphones with these characteristics work perfectly on mobiles, however they behave strangely on PCs.(I also think that the Bluetooth of the PC is much worse than in the mobiles. They are under much more interference and in my experience they perform worse)
It would be good practice to make them easier to use on PCs. With the Samsung Galaxy Buds, I had to modify things about the channels, and they are visualized as a double device ... well, that's not practical for people, much less if they are standard users.