In Egypt, as in most Muslim societies, there is a huge surplus of womanless unemployed young men.
Wars against “infidels” or, if the “infidels” are too strong to be attacked en masse, tribal & internecine warfare, are the traditional means of draining off some of this surplus.
Promises of a sensually drenched “paradise” for those who die “in Allah’s cause” are the means of recruiting for warfare droves of these young men who are acutely aware of, but almost completely deprived of, the pleasures of power, riches, fame, and access to women.
In other words, when there’s nothing left to lose, bloody warfare blessed by religious fanaticism is the result, especially in societies where human life is already extremely cheap.
Madame Cankles made an inside deal with the military.
Not saying that's good or bad, just saying the rest is theater. From the cheap seats.