The president’s empty threats and erratic diplomacy has underscored America’s unreliability