Any quantity of factors could have caused the head gasket to fail. One on the most common brings about is engine overheating.
What can cause a head gasket to fail?
Head gasket failures are usually caused by repeated overheating, or continuing to drive after the car has overheated, so the best way to prevent a head gasket failure is to ensure your cooling system is in good condition.