The message is a shift in tone toward the Russian leader, whom the U.S. president called his friend just last week.