Noam Askew noticed this important point in a story on proposed immigration legislation in Wyoming:

And when one state tightens its laws, nearby states apparently feel compelled to act as well to avoid receiving a flood of displaced immigrants.