That's just how legal cases work... if you sue a state, it's documented in court records as a suit against the sitting governor. If the governor changes, the title of the suit changes.
Same thing here with the president. It doesn't matter who wins the election... any ongoing court cases are now against the new chief executive of the government.