The problem is that the ignition switch is on, meaning eletricity is available all over the place. So an arc is possible and near the gas filler the result is catastrophic. So its not when the engine is running but when the eltrical system is on.