".... and discourage international students and scientists from coming to the United States."
Not just students and scientists - it will discourage everyone from coming to the United States, as if it wasn't unappealing already.
Tourists will go elsewhere. It's good for tourism in other countries.
Important to remember though that these Trump decisions are the will of the people - democracy in action.