That is exactly what Sotomayor, I believe, was saying a few weeks ago - that they didn’t want to create a chaotic situation where Republican-led states started “retaliating” (and of course they would) by removing Biden from the ballot.
A problem with making the decision with considerations like that in mind, though, is they’re basically coming up with the conclusion and then inventing a legal basis to justify it.