U.S. President Donald Trump said on Friday that illegal immigrants who throw rocks at the military would be arrested, but not fired upon by troops.