That’s not random at all. Facebook is known to cause reboots:
A reminder to everybody. Please carefully read the first post in the random reboots thread and try all the tips there to rule out different issues and then change your vote above if anything changes.