The mid-presidential-term congressional elections typically have a rhythm: two years after a president begins their term, voters get antsy that progress has not come quick enough, or they find they dislike what the administration does.
Voters then sweep in the opposing party to take control of the legislative branch — or at least prevent it from being a rubber stamp for the White House.