Although rare, your system might restart with an error message that says, ‘Your computer was restarted because of a problem.’ This happens because of some software errors or issues or external devices connected to your Mac.