Question: why iphone x keeps restarting?
Answer: The latest iOS update might have caused major system data to become corrupted, causing the device to persistently act up. To ensure no interruptions during the system reset, I'd recommend resetting your iPhone X to factory defaults through iTunes.