Chosen Solution

First of all, I’m sorry for the wrong choice of device, it’s actually Redmi Note 8 Pro, but I find no product to select. Anyway, my Redmi Note 8 Pro always restarting by itself when shaken or when I’m holding it ‘unstable’ while repositioning my grip. Is there any solution? Or there’s a hardware failure?

Sounds like it may be a loose connection somewhere. M