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).
NYC is a bit of a special case for a lot of things due to it's size/density and location. Most places don't ship their waste that far from it's origin because it's expensive.