For one court to come to this conclusion and then enforce a large scale national policy shift, even temporarily in the case of the ruling being over turned by a higher court, is a pretty jarring exercise of power by an unelected official over an elected one.
This pretty much sums up Biden's presidency. SCOTUS finally realized it was BS conveniently when the Dems tried the same tactic against Trump.
Also, elected vs unelected doesn't mean a whole lot at this point. It's hard to call what we have "elections" given that we're only presented a couple of options at most, and despite that, there aren't really special distinctions between the powers of an elected vs appointed official outside of what their roles are.