Earlier quoted context omitted.
The court has rapidly given itself over to partisanship in the last few years. That framework lends understanding to the seeming contradiction in their decisions.
Sure that may be the case but there is still some argument applied to both decisions. What's the main difference between one vs. the other that makes decision to get a medical procedure not legal but decision to not wear a mask legal?
Similar issues exist about masks too. (e.g. concerns of immunocompromised people)