This answer to the Politics SE question What happens to lawsuits against US presidential administrations when the administration changes due to an election? has been well received and so I've accepted it. I don't fully understand what it says but it seems that the explanation I need is more of a point of law than of politics.
In its entirety:
The suit is going to be not against the individuals in the administration but the government as an entity so the lawsuit proceeds. However, the new administration may choose not to defend the lawsuit, in which case the court may allow another interested party to stand in defense of the lawsuit (which happened with some of the suits against the ACA that the Trump administration declined to defend).
and my comment there:
...I don't know what those mean or what actually happens as a consequence but perhaps those might be better taken up as new questions in Law SE? For example what actually happens if nobody "stands in defense" of this kind of lawsuit?