In my case, I realized that US salaries were on a different level, for a very similar cost of living when outside of NY and the Bay area, and left. Every time I go back home, people try to recruit me, and then quickly give up when I mention what I make, salary, in the American Midwest.
But still, when I was still back in Spain, it seemed to me that the labor market was set up in such a way as to reward founders, and not so much their engineers. It's just that many of the successes I know started by having B2B customers before a single line of code was written. Very different from the idea of companies with venture capital that try to take off before running out of runway that you see in the US.