The heat gun has a red-hot heating coil inside. If there are any fuel vapors present, it is hot enough to ignite them. In a closed space, an explosion, and possibly fire can be unpleasant.
In this case, you could argue that prior to pulling apart the fuel line connection, there were no fuel...