Countries are competing in a market for tax revenue too. If a country wants more tax revenue from a business, they can either close the legal loopholes that allow the business to reduce the amount of tax that they pay or make their tax laws more competitive with those of other countries.