Oil is important in the World and nearly 40% of the oil produced by Kuwait and if Saddam controls the Oil supplies and World at their knees, so they declared war on Saddam under US leadership defeated him.
This is about the who controls the oil wells of Gulf and protecting the interests of the US and its allies; so for that reason when Saddam attacked Kuwait, the US took the lead and liberated it.