The comments marked a departure from recent rebukes of Mr Zelensky by Mr Trump that appeared to indicate an abrupt deterioration of relations.