He hated John Bolton until he thought Bolton could hurt Trump.