I think, generally speaking, Republican presidents usually do get along better with foreign heads of state than do Democrats. The media try to pretend otherwise but it’s true.
Dont forget Trump was always trying to stary WW3 by provoking Putin too
Part of it is consistency and predictability. The former Soviet premier (with the California shaped birthmark on his forehead, forgot his name) said he got along better with Reagan than Carter. Reagan set boundaries that he respected. Carter didn’t. His predecessor was surprised by the Carter administration’s reaction to their invasion of Afghanistan.