President Trump's visit to the border follows a dramatic scene at the White House where he walked out on talks with Democratic leaders.