The attacks were a consequence of US policy in the Middle East.