The US supported Iraq during its war with Iran and funded the Taliban and Bin Laden during Afghanistan's war with the Soviet Union. It suited their need to manipulate the outcome of international events at that time. Decades later the US showed their thanks to both groups by invading and ousting their former allies. Some friend, eh?