Because the Fed (arguably part of US government, although it is a quasi-private entity) manages USD inflation (defined as consumer prices) to try to target 2%. If the value changes by much more than that, they adjust monetary policy to try to get back to 2%. This is not always successful (as now, with 9% inflation, not really stable at all over time if it persists), but mostly tends to be.
RE: USDD Failing And What It Will Take For Stablecoin Success