From the Bay of Pigs to Iraq, American presidents have repeatedly stumbled into foreign wars through hubris and miscalculation—Iran may be the latest chapter.