Because we haven't figured out how to square allowing people the freedom to work in the industries they please, no matter where in the world that industry has found itself, with allowing countries to strictly limit who is allowed inside its borders.
The "just learn to code" message never sat well with those who have no interest in coding and now they are rising up to try and take back, so to speak, the work they actually want to do. The far reaching consequences that go along with that are not of their personal concern.