This is the main reason that pushed me to go to Switzerland to work for an American company. I feel this is the sweet spot when considering worker rights, salary/purchasing power, interesting work without too much bureaucracy, quality of life, and work-life balance.
My more cynical take is management and management-adjacent roles are easier to climb to and more abundant, pay better than the equivalent technical-only title and since managers largely decide what is going on, they'll obviously provide job security for themselves in whatever obscene way possible. At the same time culture views a manager as something noteworthy and of a higher rank already, which loops back and reinforces itself through payment, work and lifestyle, which then loops back to the way culture views it. The same can't be set for most developers who aren't at least partially dabbling into self-employment, entrepreneurship or management themselves, which then further reinforces the manager > developer mindset.
It's something that I observed as well.
> American optimism and ambition, really valuing engineers, generous equity and culture are a big part of this. Companies outside of America have been losing talent because they've been fucking this up, I expect things to get worse for them as geography is even less of an issue for working for American companies than it already is.
Don't forget that companies who may have been hesitant to sponsor a visa for an unknown dev might be a lot more willing after having him work for a year or two remotely. And this remote employment also opens the possibility of different visas (L1 comes to mind).
I actually think we might see a larger drain to the US in the medium term. And I'm all in for that, if Europe wants to pay to educate engineers then waste their talent not valuing them, send them here!