I'm surprised that people think Iran hates us because of Islam, or because we don't adequately oppress our women. That's just a convenient excuse, and it is naive.
Look back to 1953, when the CIA hired mobs to demonstrate violently in Tehran, spread misinformation, and controlled the press in order to install our chosen puppet, the shah, all because of the National Iranian Oil Company.
The shah became increasingly autocratic and tyrannical, and we continued to support him. The Iranians were able to see this, and it led to the 1979 revolution. People think the hostages were taken because the Iranians just hated us, but the truth is that we allowed the Shah to come to the US for cancer treatment. The Iranians saw that as us sheltering the shah from justice.
Next, the Iran-Iraq war started, and we were so anti-Iranian that we backed Saddam. Kuwait bankrolled Iraq to the tune of $14 billion. When Iran's Naval blockade started becoming effective, we broke the blockade. We even put US flags on Kuwaiti tankers and escorted them safely (mostly) through the gulf. How should Iran have seen us? We are supporting their enemy, We are protecting Kuwait, who is bankrolling their enemy, and we have broken their Naval blockade.
Iran hates us because we treated them poorly. That doesn't make what they are now doing right, or what we are now doing wrong, but it does help if we understand their motivation.