Why can the Supreme Court tell a state what to do with its ballots?
<blockquote>
<p>Supreme Court Justice Samuel Alito late Friday granted part of a request from Pennsylvania's state Republicans, who wanted an order regarding mail ballots that came in during the extended deadline.</p>
<p>He ordered county election officials to comply with a previous directive issued by the secretary of state to keep separate the mail ballots that arrived after Election Day but before Friday at 5 p.m. But he did not order the state to stop counting them. [<a href="https://www.nbcnews.com/politics/2020-election/live-blog/2020-11-06-trump-biden-election-results-n1246707/ncrd1246874#liveBlogHeader" rel="nofollow noreferrer">source</a>]</p>
</blockquote>
<p>Why does the Supreme Court have any say in this?  Isn't it entirely a state matter?</p>

<p>The constitution delegates the power of selecting Electors to the states themselves, through whatever method the state legislature so chooses (today it is always through a popular vote, in most cases statewide but in two cases it is done also by district).  Elections for the Senate and Congress are also specifically delegated as to be done however each state legislature so chooses.  A right to vote isn't mentioned in the constitution until the suffrage amendments.  These protected the right to vote independent of race, servitude, and gender.  Moreover, they granted Congress the authority to legislate so as to achieve these ends.  So there is federal power intersecting with voting, at least.</p>
<p>Those probably aren't the bone of contention here, however.  The claimed issue, as I understand it, is actually from the first part. The claim is that what is going on—extending deadlines etc. via decisions of election boards, court orders, or whatever—is a violation of the Constitution delegating control over voting to the legislatures. In the case of decisions by election boards (or similar thing), as the legislature in question will have of necessity passed legislation empowering the board to make such a decision on their own, it boils down to whether or not the legislature is held to have the power to delegate that power or not.  There's no hard and fast rule for this: sometimes the US Congress has been held to have delegated too much, other times it's held to be just fine (and Kavanaugh, I think, seems inclined to think it has delegated too much in general and this needs to be addressed).  For court orders, it becomes a question of whether the court has the authority to make such orders, or if this is an infringement of a power reserved to the legislatures.</p>
<p>Either way, it becomes a constitutional issue: do actions of election boards, duly enacted by legislation, or court orders, (sometimes) run afoul of the Constitutional grant of this power to the state legislatures?  Chief Justice Roberts appears to be trying to toe a line where he does not want to get involved with second-guessing state election boards and state courts, wanting to just let those stand as state matters reserved to them by the constitution. His problem, it would seem, is with what federal courts can do, and he seems open to reviewing decisions from federal courts that concern the exercise of state powers on elections.  In other words, he seems inclined to let stand a state court ruling to extend a deadline, but may take issue with a <em>federal</em> court issuing such a ruling.  Of course, there are now 5 other &quot;conservative&quot; justices besides Roberts, only 4 of which are needed to hear a case, so the ability for Roberts to get the court to go along with this apparent line of legal reasoning will be strongly dependent on his ability to convince at least two of those conservatives of the correctness, or at least wisdom, of doing so.  But that's another matter that goes beyond the question you've asked.</p>

<h2>The Supreme Court has appellate <a href="https://www.uscourts.gov/about-federal-courts/educational-resources/about-educational-outreach/activity-resources/about" rel="nofollow noreferrer">jurisdiction</a> over any matter involving the Constitution</h2>
<p>The details aren’t given but no doubt this is an appeal from the state Supreme Court. Because it involves the election of a Federal officer (the President) the US Supreme Court has jurisdiction.</p>

<p>The state supreme court has the final say in determining what the laws of the state are, but this case is about a federal law.</p>
<p>From the <a href="https://www.supremecourt.gov/DocketPDF/20/20A84/159913/20201106102208646_Republican%20Party%20of%20Pennsylvania%20v.%20Boockvar%20-%2011-6-20%20Emergency%20Injunction.pdf" rel="nofollow noreferrer">application</a>:</p>
<blockquote>
<p>The counting of votes that are of questionable legality threatens irreparable harm not only to RPP, its voters, and its supported candidates, but also to all Pennsylvanians and even the country, by casting a cloud upon the legitimacy of the election. And here, the issue presented is precisely whether the votes that have been ordered to be counted under the Pennsylvania Supreme Court’s extension and non-postmarked ballot presumption are legally cast votes under federal law and the U.S. Constitution.</p>
</blockquote>
<p>In other words, the Republicans are claiming that the procedures in place pose an unacceptable risk that the state's election results will be influenced by ballots cast after the time established in the U.S. Constitution.</p>

united-states us-supreme-court elections