In a damaged battery cell, heat speeds up the chemistry and the chemistry makes more heat. In the simplest model the temperature doesn't just grow, it reaches infinity at a finite time. The solution only exists up to that moment, and the moment depends on where you start.