Sanctuary cities that refuse to comply with federal law clearly state that they know better, and disagree with, federal law. Further, rather that work to change federal law, they disregard it. Sanctuary cities clearly state that they do not need or want federal support.
It is reasonable, then, for federal funds to be allocated elsewhere.