Moderately old NiCd batteries that haven't been deep cycled can develop metal dendrites that connect the electrodes and short the battery. This heats the electrolyte to the point of vaporization if the battery is full, and it ruptures. The expelled electrolyte, if it has a low enough potential, can then react with the oxygen and ignite.
Or else an explosive expert hates you.
I hope it's the former.