It looks like there was a deal in the works ahead of time. The enemy had been given a promise there would be no defense of the embassy.
Actually, consulate.
But it’s even stranger if the consulate was, as some allege, an arms drop off point for CIA sponsored activities. You don’t guard THAT???