The politics of miscalculation in the Middle East