ISIS has a very fundamentalist view of the end of the world from their reading of the Koran, and are trying to hasten the "final battle". This belief was not "caused" by the war on terror or frustration with the west, though it does align with what they expect to happen.