If the aircraft had a fire over Dammam then the landing in Jed was hardly an emergency, considering the distance it travelled in the wrong direction. If it was an emergency the landing would have been done in Dammam or Dahran or even Bahrain. Suggest you take a look at the map.