I've always wondered if the big unspoken reason for establishing American bases in Afghanistan and Iraq was to surround Iran. They perfectly sandwich Iran in from the east and west. Maybe with that clash seeming less imminent it was time to pull out. Geographical advantage is behind most military decisions but it's never enough of a reason to get public support for invading countries. Hence, the need to defeat terrorism and get Bin Laden.