President Donald Trump has questioned why undocumented immigrants who came to the United States as children should be deported, a sharp departure from the campaign when he advocated for the removal of all who were violating immigration laws.