Hitler was elected same as Trump, and killing millions of Jews under whatever pretense he gave was his lawful right.
Which isn't to say Trump is Hitler, of course. He is not.
But, having the legal right to do something does not make it moral and just.
As it is, I'd say what happened to the 39 year old man from Michigan with his wife and two kids, with no criminal record, and was brought here when he was 10, and was deported, was immoral. I think the United States can and should do better than that. Maybe you don't.