Al Qaeda wasn't territorial. It wanted the US to come to attack it in Afghanistan- which had nothing of value- because as Gen. Hamid Gul said, it expected to kill G.Is, take their fancy weapons, and thus re-arm for an invasion of its own resource rich homeland.
ISIS is territorial. Why is it provoking the French into bombing its oil wells? The answer is that petrol prices have collapsed. ISIS can't pay its recruits. Some are already defecting. Europe talked tough about imprisoning ISIS recruits if they returned but the threat was not credible because, if they were going to let in a million Syrians per year, the screening process could only be perfunctory at best. In any case, Islamists politicians in Europe, along with their 'Liberal' backers, could always raise a hue and cry about Human Rights for people born or already granted asylum in Europe.
How could ISIS deter defections while simultaneously giving itself an excuse for not paying recruits? The answer, it is now clear, was to get European Islamists- e.g. from the Emirate of Belgistan- to conduct a bestial strike at the heart of European Civilization. Clearly, deserters from ISIS will now find themselves receiving a far less forgiving welcome. ISIS is now saying to its foreign recruits- 'you have no choice but to stay loyal and die fighting. The French won't forgive you. If you fall into their hands you will suffer something worse than Guantanamo'. In any case, a strike against the enemy raises morale and esprit de corps in short run and, the truth is, it is in the recruits interest to pretend to believe the Caliphate's propaganda for the time being.
This does not alter the fact that ISIS is no longer financially viable. Its best bet is to disappear for a bit- till Petrol prices rise again. When it makes its comeback, people will have forgotten that it was improvident and ran out of money. All they will remember is that the palmy days when recruits lived large on 'ghanima'- the spoils of war.
I should mention that ISIS declared a Caliphate only so that it could legally, according to Islamic Law, take a share of the loot secured by the freebooters of Jihad, the 'Holy War' which, once again, only a Caliph can legitimately declare.
Sadly fracking fucked up ISIS's finances. The Petrol price collapsed. Those elements in the Caliphate which have kept lines of communication open with the Gulf and the Saudis can retreat to a comfortable Capua, while the less financially savvy elements are destroyed. Still, once Petrol prices bounce back (which is why fracking must be banned!) they can return. No doubt, they will be welcomed. After all, now the French are involved, hearts and minds have been alienated in advance. Furthermore, we can always trust the French to espouse the worst possible Military Doctrine and the American's to implement the stupidest Energy Policy possible.
Things like fracking- i.e. technological changes which change ergodics- can defeat Terror- i.e. hysteresis- but, Western Pundits and Policy Makers can always be relied upon to disable or neutralize such technological changes so that the denizens of the 'Cradle of Civilization' continue to so cultivate Terror as to perpetually shit their pants.