How Trump officials 'tied themselves in knots' — and gave Iran the upper hand