My Bluetooth mouse would cut out every few minutes on my Windows laptop, usually right in the middle of an intense working session. Then reconnecting it over and over got old fast. While digging ...
Fix mouse lag in Windows 11 with this ordered checklist: connections, wireless interference, pointer settings, USB power ...
If your USB peripheral is on the fritz, it's worth doing some troubleshooting with the port itself. Give these steps a try.