The sharp contrast between Trump’s thumbs-up to a dictator and his snub of a US ally