Restricting people's freedom of movement based on their liability to spread dangerous diseases is much more reasonable than restricting their freedom of movement based on where they were born.
Some people don't like the idea of national borders (usually extreme libertarians and leftist-utopians).