The occupant was working on a fireworks display inside the barn when the malfunction occurred, causing the display to activate and explode.