It's because of the tax holiday Costa Rica is giving [0][1][2], and VMWare's acquisition by Broadcom (they had a massive engineering campus in San Jose, Costa Rica) leaving a lot of Support Engineers and C++ Engineers on the market.
Czechia, Romania, and Poland did the same thing in the 2010s, Israel and India in the 2000s, and Taiwan and South Korea (in electronics) in the 1990s.
[0] - https://www.thegreenparkfz.com/
[1] - https://afz.cr/v5/en_us/about-us/
[2] - https://www.procomer.com/wp-content/uploads/Guia-Zonas-Franc...
You can find even cheaper staff but you're still competing for talent. I can pay someone in South or East a premium against their market and still save big compared to an average salary in West.
This is ignoring any other benefits you have as employer in South and East. Try to fire or lay someone off in France - it'll cost you.
That wasn’t the part that killed the deal though. My employer’s real worry was around how hard they believe it to be to fire someone who isn’t doing well in France.
Remote workers located in HCOL areas of US and Europe have shot themselves in the foot. I see it especially in the market for native mobile development in Western Europe. Salaries decreasing, freelance rates dropping. There is plenty of work, but positions are filled with workers living in the South or East.
As hiring manager, if I'm going to hire someone who works remote, I will pick the person with the same skillset and experience at half the cost.