The foreign policy during Bush Jr and Obama was identical, and identically stupid.
The foreign policy during Trump and Biden is identical and quite good. Not perfect but enormously better than what we saw with W and Obama.
It’s as if there were transfers of power but they didn’t happen alongside party lines. Unfortunately, most people are so hypnotized by partisanship that they can’t notice many such continuities.