They do change from time to time, but the one constant in international relations is the sovereign self-interest of states.
If we consider well-regulated and well-managed international mobility in such a way so that you don't see large-scale irregular migration flows on borders that can do things like potentially undermine the entirety of something like the European project through the EU or create violent domestic backlashes from white nationalists against asylum seekers, then it's definitely in states' self-interest to co-operate. It's also cheaper to co-operate with other states in the international system.