A boot loop can happen for a variety of reasons.

A couple of the most common are failing memory, failing hard drive and virus infection. A blue screen right before the restart will help pinpoint the exact error. If you encounter this situation, we highly recommend to bring it in for a diagnostic to figure out the exact cause and repair options.