They are basically the same picture.
Banning voter ID makes fraudulent voting by non-citizens easy.
Making a state or city a “sanctuary” for illegals then maximizes the potential total of fraudulent votes.
Understanding the incentives explains seemingly irrational behavior.