I use an Apple Silicon Mac and often use programmable keyboards like the Royal Kludge RK61 via USB C. when I press keys such as A, S, D, F, W, or nearby keys in quick succession, the keyboard stops responding completely until I unplug and reconnect it. I've even replaced the USB C cable with a new store bought cable, but the issue still persists.
Usb isn't the issue, you bought an extremely budget mechanical keyboard.
Check if your keyboard has a way to enable n-key rollover (NKRO)
https://en.wikipedia.org/wiki/Key_rollover