I don’t think gravity caused the mid-air explosion, although anything is possible
But, you must admit that the line was very funny.
Wait, if an object was falling to earth and hit the ascending spacecraft one could blame gravity!