Kierkegaard examined the concept of the “teleological suspension of the ethical”, a situation where normal moral considerations are overridden in appeal to a higher ideal; giving the example of the story of the Binding of Isaac, in which God commanded Abraham to sacrifice his son Isaac in order to test Abraham’s faith. This teleological suspension of the ethical is utilised by many terrorists, following on from the example of their faith’s patriarch in Abraham. That's about as far as religion comes into terrorism (providing spurious justification for acts of violence), the rest of it is motivated by geopolitical factors.
I've always found the United States/Liberia thing quite interesting, not least because it was always a good excuse to start a war with America on Victoria: An Empire Under the Sun.