The US supported Iraq as a buffer/balance against Iran. That was in a time when the USSR was hoping for land access to the Indian Ocean. Need to land troops somewhere.