How come? So it's much more offensive for countries to control who enter them than what goes inside them?
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).