In the case of Iran, it goes back to 1953 and the CIA-run coup of their democratically-elected prime minister. The US and Britain seemed to not like the thought that he was demanding a better deal for Iranian oil and would nationalize their oil industry if a better deal was not to be had.
That coup led to the US-supported installation of a military dictatorship (remember the Shah of Iran) whose excesses led to the violent overthrow by the mullahs. That in turn led to the US encouraging and arming Saddam's Iraq with weapons by which to go to a long and bloody war with Iran.
You do see how that might inspire a certain degree of animosity towards the West, right? If you go back to those roots, much mischief on the part of Iran can be laid at the feet of gross Western interference with the Iranian people's right to determine their own fate. Do you really think the mad mullahs could have risen to such prominence without the chain of events driven by that coup back in the 50's?
In that sense, yes, the West can be seen as being in at least good part responsible for where we are now with Iran.