Take Germany for example: In the neighbouring country Switzerland you can easily earn twice as much and the higher living costs only cancel out a part of the difference. >80% of Germans would have the money to move and would be much better off and still only very few do it (<2%).
Same with all the unemployment in Spain, people could move to e.g. Germany in masses but they don't.
People just don't like change and are not the rational players everyone wants them to be.