I think that understanding why individuals would want to live in a foreign country they hate may be the first step in understanding this form of terrorism.
But as said above, it's all wrapped up in trying to build a version of your own culture in a foreign land.
It also seems without doubt than aside from Western Europe, and North America, democracy elsewhere is fragile or unworkable.
Democracy works well for those who embrace it, but then those who resent the success of this system 'come over' and try to undermine it.
Interesting comment on the news review this morning that neither Royalty nor House of Lords are democratic, and so the UK is not fully democratic.
None of this can change without restricting borders and I don't think there's enough will to do that yet in Europe.