There was a fire starting on the roof of the building, but others had already run out to quench that.
The others had already left to extinguish the fire starting on the roof.