There's a competitive aspect to central bank policy: if the U.S. drops rates but other countries don't, their exports become more expensive and hence relatively uncompetitive in the world market, their manufacturing sector loses jobs, and they get thrown out of office. If the U.S. raises rates but other countries don't, their currency drops in value relative to the USD, their imports become more expensive, this fuels inflation in their home country, and they get thrown out of office. Therefore there's a strong impulse to mimic U.S. monetary policy. This also makes the reaction of other countries a constraint on the actions of the Fed; they cannot make changes willy-nilly without causing severe dislocations to the global economy.
You're right that this is not a Biden vs. Trump issue, and that Trump also pursued policies that were highly inflationary. This is a "humans are predictably irrational" issue. They nearly always pursue policies that fix the problems they have now, even at the expense of causing problems that are highly likely to occur later.