By safeguarding the engine first you remove any source of spark/flame etc that could develope into an engine fire. The airflow around the engine will see that the fuel is dispersed behind the aircraft. Once you secure the engine then deal with the fuel. Also this theory goes back to propellor aircraft, you need to secure the engine/prop first to reduce drag then deal with the fuel problem.