Virginia routinely swings away from the president's party

The change in the Republican margin in Virginia from the preceding presidential election to the subsequent gubernatorial election, 1976 to 2021

538
Source: Dave Leip's Atlas of U.S. Presidential Elections