Local governments are wrong to do this, but that doesn’t mean it’s a Federal issue.
Our local Walmarts have tried to cajole city governments into changing zoning laws, etc. in order to get their stores located where they wanted them.
Let them deal with the local officials in the same way. If they don’t like the municipality’s laws, take it to the public who elect the municipality’s leaders.
Are you saying that the illegal aliens themselves are a federal issue but once the federal government neglects their duty to confront the illegals, any action by the state regarding the illegals is a non-federal issue?
The state can't force a business to be an accomplice to a federal crime. It is a federal issue when that happens.