not a gotcha. How do they get to turn around ppl at port of entry at the airport because ppl are on american soil and they need to go through standard due process before they get deported back.
Because people who are on your soil might have a reason to be there. They might not be immigrants at all, but you won't find that out without due process. Everyone should have the right to show that they are allowed to live there, otherwise you can just deport anyone you want without verifying that you should actually do that, which we have seen multiple times in america recently
Well if it's before immigration, then they aren't technically in america yet, so it's not deportation, it's refusal of entry. And I expect they also have to have a good reason for refusal, either due to who the person is, what they're carrying, or what documentation they have/don't have, which will be investigated as part of due process