Trump’s public comments have varied between criticizing U.S. backing for Ukraine’s defense and supporting it.