They had the “blame the video” gambit in their arsenal for quite some time so they could throw it out when the inevitable tragedy (caused by their support of terrorists) happened. It was totally pre-meditated.
The best explanation I’ve heard is they had planned to have the ambassador kidnapped so the Usurper could swap him for the Blind Sheik.
It went sideways when the former SpecOps CIA contractors went against orders and tried to rescue the ambassador. Six guys killed over 60 jihadis. We lost two. They had already killed the ambassador and Sean Smith.