Land close enough to cities to be reasonable to truck garbage to is less plentiful though and you have to factor in the costs of properly containing and processing that garbage.
At the end of the day it has to go somewhere, and there's no room for it in the five boroughs, so they pay what they need to pay. And it's still cheaper than sending it overseas (otherwise they would).