In the case of Weimar Germany, there was the little matter of THE VERSAILLES TREATY that required them to endlessly pay war reparations and punitive payments in gold. Britain told France to cut it out, but France was mad enough at the Germans that they continued. This led to the rise of the Nazis and WW2.
https://www.history.com/news/treaty-of-versailles-world-war-...
You should read more economic viewpoints, such as Walter Mosler on hyperinflations:
https://moslereconomics.com/wp-content/uploads/2020/11/Weima...
Oh, and meanwhile there was a "free money miracle" going on in nearby Austria, and clearly did not lead to hyperinflation, quite the opposite: everyone paid off their taxes due to the demurrage of the free money... keep in mind this was while all around them there was a growing depression... even Mises institute grudgingly agrees!