Lithium-ion batteries are relatively volatile. They can suffer a "thermal runaway" event where the battery releases all its densely-packed energy in a violent flameout. There is no single reason why these batteries might ignite in this way. Impacts, piercing, high pressure, faulty safety circuits, or any adverse events can cause a lithium battery to burn out violently.