Why did Iran's Ayatollah Khomeini preach hatred of Americans?

Ayatollah Khomeini was convinced that America has colonized Iran and the Shah of Iranis America's puppet government.