That's not the story as told in that documentary linked above, nor on the Wikipedia page. I believe the cause was a rocket accidentally fired from an aircraft across the deck (the reason for which is complicated), which hit either McCain's plane or the one next to his, puncturing the fuel tank and igniting it. This led to a spreading fire and of course the eventual explosion of the bombs that fell into the fire (and the ones on other aircraft).