It happens when Windows device manager refreshes due to a device being added or removed, or some kind of conflict such as multiple audio devices being enabled. If you open device manager you'll see it blink whenever your controller becomes unresponsive. Disabling the conflicting device on that list should resolve the issue if you can work out which is causing the problem. Yeah I've had this a few times over the years and it's a pain to squash lol.