I'm not sure why it happens but there doesn't seem to be any specific cause
Asrock B450 Steel Legend
Ryzen 7 2700 (Stock AMD cooler)
XFX Speedster 210 Swift RX 6600
16 GB of 3000 Mhz ram
Corsair CX750M
My "w" key sometimes activates when pressed and sometimes doesn't I've tried cleaning it. Another thing is holding it upside down makes it work perfectly fine. Mechanical Btw.