No, it could be likely due to heat, a computer virus, device errors, or a faulty hardware. You may want to check your device manager and see if there are any yellow exclamation marks. In regards to heat, if the CPU is over a certain threshold of heat the system will shut off automatically. This may happen with other components. So, check your temperatures.