The same is true for Russia or Belarus or Ukraine, AFAIK. Wages are even higher there.
And I'm talking about building software for internal clients. Outsourcing or remote work allows for even higher salaries.
I'm not entirely sure why the market works this way. It's not like any random software developer can go remote and compete with the rest of the world. But it works.
I'd really be interested to learn whether Indonesian situation is similar or not.