Basically the federal government says "Round these people up, an oh by the way do it on your own dime." These cities basically say no, we're not going to pay for that.
From Google: "A sanctuary city is a city in the United States or Canada that adopts local policies designed to not prosecute people solely for being an undocumented individual in the country in which they are currently living. These practices can be by law (de jure) or they can be in fact (de facto)."
Is this explained anywhere?