European leaders had worried that Trump was cosying up to Putin as negotiations on a ceasefire in Ukraine continued.