Batteries emit hydrogen gas when charging. Hydrogen has a very wide range of air to gas ratio at which it will explode. There was likely a tiny arc at the connection and it exploded. This is one of the reasons to wear eye protection around batteries. Heard one explode decades ago inside the shop while charging, still remember it well.
__________________
"Rudeness is a weak man's imitation of strength" - Eric Hoffer
|