Plus, there were another two factors: they panicked in fear of the people outside (having shot at them, finding a lynch mob was more than likely) and they panicked in fear of the flames, like all victims of fires.