Why did the Iraq war take place?

The war in Iraq is said to have started because of the terrorist attack on 9/11. There have been many that believe that the attack on the World Trade Center buildings was a US government ploy in order to start a war with Iraq because of the amount of oil in their country.