IPhone X randomly crashing while in use
First off, I would try force quitting all of your open apps and seeing if that solves the issue. It looks like 'HQ' in your list above is using quite a bit of battery.

If that fails, I would try a force restart of your iPhone. Note this is different than a standard power on/off.

Also, please confirm there is sufficient hard drive space on your iPhone. If you're low on space, really bizarre issues like random crashes can happen. I would suggest having a minimum of 10-15 GB.

If neither of the above suggestions apply, to rule out any hardware issue, I would still suggest taking your phone to the Genius Bar at Apple. You can make a reservation even if you're out of warranty.

They will run a battery of tests on your phone (for free) to let you know what may be wrong with it, and if it is hardware related, will give you pricing on a repair. Apple unfortunately does not expose these hardware tests to the general public.

They also have some limited leeway to go above and beyond for Apple customers depending on the issue you're having with your product, so keep that in mind.