Terrorist ideologies are absolutist and fundamentalist. The mental habits that engineering cultivates are unfortunately compatible with this way of thinking in political and spiritual/religious realms. There is an absolute truth and an absolute right and wrong, etc.
I've never met a "terrorist" but I have known a surprising number of engineers who subscribe to totalitarian politics and/or religious fundamentalism. At first I found this shocking and confusing.