The device you used to type in your opinion was likely produced in Asia. This enabled you to pay less without getting less.
You can in fact get a Bulgarian developer which is just as good or even better than many Western European or American developers (I have hired a few) and for a fraction of the price.
Meanwhile they may still be paid very decent amount of money that allows for them to have a standard of living exceeding the one they would have had if they had been employed in Switzerland with Swiss salary, and Swiss living cost.
You don't always get what you pay for with developers or any other services or products. Sometimes, but not always.
You can in fact get a Bulgarian developer which is just as good or even better than many Western European or American developers (I have hired a few) and for a fraction of the price.
Meanwhile they may still be paid very decent amount of money that allows for them to have a standard of living exceeding the one they would have had if they had been employed in Switzerland with Swiss salary, and Swiss living cost.
You don't always get what you pay for with developers or any other services or products. Sometimes, but not always.