As the human body is Carbon-based, a corpse tends to form gases that increase in pressure within a casket until it explodes.