Why would he ever have gone there as a “friend” in the first place.
Because he thinks that taking hat in hand and talking one Communist to another from a position of weakness and obeisance is the best way to do diplomacy with regimes such as the ones in North Korea and Cuba.