George beat me to the post; I'd written:
If a battery is short-circuited, or the circuitry it's powering fails and starts drawing more current than it should, the battery will overheat and the electrolyte in its cell(s) will boil. Modern cells have a pressure relief valve, but it's intended to...