The American president was blasted by a senator from his own party over the White House's actions towards Ukraine.