There's a tendency among certain people on HN to act like the conservative justices have no rhyme or reason and are just a bull running mindlessly through the china shop breaking precedent at random or specifically to hurt specific groups of people.
I'm not a fan of every ruling that they've made, but this should have come as absolutely no surprise to anyone who's been paying any attention to the arguments that this court has made over and over and over again. Their legal and constitutional philosophy has been very consistent:
They believe that Congress makes the laws, the Executive branch enforces them, and the Judicial branch interprets them. They believe that the Executive branch and the Judicial branch have been compensating for Congressional failure for too long and they have been very clear that they're intent on undoing that and rolling the system back to how they believe it should be.
There's an argument to be made that this theory is incorrect and/or harmful, but they've been remarkably consistent in applying it. Anyone who's been listening to them saw this coming years ago.