Not really sanctuaries

If cities and states have declared themselves “sanctuary” cities and states why isn’t the federal government taking the illegal immigrants there?