To limit the probability that a door will be left open during a fire, thus allowing fire to spread from one fire compartment to another, which could lead to damage to the building in the other fire compartment.