https://en.wikipedia.org/wiki/Price_discrimination
If you have a good whose marginal costs is very small, then once it has been created, the optimal method to sell it is to sell it to each person for the maximum amount they are able and willing to pay. Obviously, people in poorer countries aren't able to pay as much as people in richer countries, so by creating different versions for them, the seller can maximize revenue, but only if the people in richer countries aren't able to obtain it at the cheaper price.
In a way, this is good for poorer countries as they can obtain the goods at a cheaper price since the alternative might be that the seller simply abandons the market.