Why is my iPhone X pressing buttons by itself?

How do I fix my iPhone X Ghost Touch?

How to Fix Ghost Touch on an iPhone: Causes & Easy Solutions.
Restart your iPhone..
Disconnect third-party charger and accessories..
Clean your screen..
Remove or replace your screen protector..
Try a different iPhone case..
Check your Accessibility settings..
Update to the latest version of iOS..

How do I stop my iPhone from pressing random buttons?

Change 3D or Haptic Touch sensitivity on your iPhone.
Go to Settings and tap Accessibility..
Tap Touch, then tap 3D & Haptic Touch. Depending on the device you have, you might see 3D Touch or Haptic Touch only.*.
Turn on the feature, then use the slider to select a sensitivity level..

Why does my iPhone keep pressing buttons on its own?

There are various reasons for the iPhone screen doing things on its own, including: Faulty display or damaged touchscreen. Bugs or glitches in the beta or outdated iOS version.

Why is my iPhone X ghost touching?

Rogue apps could cause certain disturbances on your iPhone's touch screen and may have been the main reason why you're experiencing these phantom touches after the iOS 13.3 update. These erratic apps may occur if they've been affected by random bugs after installing the new software version.