The friction caused by the gas bubble pushing up the pipe and displacing the drilling mud used to control the pressure could have created a static charge that ignited the gas into a fireball.
At 8:20 p.m. on the day of the explosion the pressure data suggest there was a constant flow of sea water being pumped into the drill pipe that was displacing the heavier mud system which was the primary pressure control for the well.