as a person who sent it for repair for 7 times, (i kind of forgot) , i can tell you that it is not you, it is really the machine's problem.
my first one randomly restarts all the time. after they replaced the motherboard, it still randomly restarts. i also had times when it randomly shuts down, and i had to press on the power button for a very long time before it is turned on again.
so asus sent me a refurbished replacement, it still has the same problem. (at that time, i started to doubt myself, is it because of me, or because of the machine. how can two machines have the same problems. ) those two machines randomly reboots almost daily, etc.
so they replaced the motherboard in the second machine. so far, i still have random reboots, but it usually takes a few days or a few weeks. i have mostly the same apps which i use frequently, etc.
so i think that most likely it is due to your machine, not because of the apps that you use. you should all install "reboot logger" the free app, so i can actually see how often it reboots. i have done factory resets on both machines and used them in safe mode. they both randomly reboot even in safe mode.
in conclusion, 1. do a factory reset. 2. if that doesn't work, then you should send it for a repair.
as for asus. 1. they will reinstall the software for the machine. 2. second time, they will replace the motherboard. 3. if that doesn't work, they will send you a refurbished replacement.
bonus: my first machine had 16 gb. but after they replaced the motherboard in the second machine, i got 32 gb! i never bothered to check it when i got the replacement, it wonder if it had 16 gb or 32 gb. even thought it still reboots itself randomly, but it is not causing big problems. so i am ok with 32 gb which reboots once in a while.