Are the electronics not in a plastic casing? Is the board exposed? Wtf?
I could see this. I’ve had motherboards reboot from static affecting the USB ports. Could be a power button or similar that sends the shock straight to the board.
Had a flashback to that shitty PC I had as a kid where if you punched the side around the power supply, the pc would reboot.
Why were you punching the PC?

Because its a naughty computer in need if punishment.

Probably gaming related, keyboards and mice can only take so much rage before you need to go one up.

Have you not vented frustration on a peripheral/controller or in red blind rage turned the console/PC off?

N-No?