People are always keen on criticizing the EU and their regulations, but employees in EU are protected from these kinds of stunts. And also from the upcoming (rumored) layoffs which won't be nearly as cruel.
Layoffs in EU happen all the same, they are just sprinkled throughout the fiscal year to avoid legal disputes due to the number of people let go.
One may argue that salaries are lower and there are less opportunities in tech in those countries - because of stronger regulation - but I think the layoffs procedures are objectively much more favorable for employees.