Frankly, I suspect that at least part of this comes from the aversion of highly educated and rich people to the idea that somebody much like them in those respects could do such a thing, and that it must be a poor lowly educated person doing it.
My second statement is coherent with this view: what education should give people is such a rooting. This is not necessarily what it does currently give them. In fact, a lot of academic tracks do their best to kill off any ounce of sentimentalism in one's heart. If it's really "all about data", killing a few hundreds "for the greater good of billions" doesn't look like such a terrible choice. This is something we really should keep in mind.
If true we would expect terrorists to be more lowly educated and poor people who mainly come from countries that have suffered under the west. We would expect these to be people who hate life, not people who love death. We would expect terrorism to be weakly or not at all correlated to religion. We would expect that the terrorists are not explicitly telling us that they're doing it because of religious dogma. We would expect terrorist groups to be fighting against the west, and not mass murdering Yazidi's for example, who have absolutely nothing to do with what happens in the world. Of all western countries, we would not expect these attacks to be against France so many times. Why have previous attacks and outrages focused on cartoonists? I could go on and on. What we actually observe is the opposite.
All of this is explained perfectly well by the second theory.
> Of all western countries, we would not expect these attacks to be against France so many times.
And why not? They have been among the most brutal colonial powers, with shocking behaviour in Northern Africa and ongoing active military engagement across Africa -- in large part because of their ideological bent on absolutist superiority of the French republican model. They actively worked to blow up Lybia and actively support anti-islamic forces there. And of course they have now joined the anti-IS bombing campaign, because they hate to be left behind when there is to engage around the Mediterranean Sea. All the while, they have huge swaths of disenfranchised 2nd and 3rd generation-immigrant youth in their midst that they simply don't know what to do with. They are the easiest target after the UK, but unlike Britain they are not an island, their borders are very porous, and their security services are clearly less effective than the Five Eyes axis. On top of that, this: http://www.theguardian.com/world/2015/nov/14/france-active-p...