Hyperinflation in Germany was deliberate. And Germany didn't just decide on its own to return to the gold standard. European countries drifted away from gold during WWI, and then they all slowly returned to it in the early 1920s. In the case of Germany, its return to the gold standard was required by the Dawes Plan, a plan by the US to ease the effect of reparations on Germany so they'd cease the hyperinflation shenanigans.
Once Europe returned to the gold standard, it saw widespread deflation and consequent unemployment, particularly in the UK and Germany. The effects of deflation caused by a return to the gold standard, and related issues in the US and France which accumulated much of world gold reserves, is widely considered a major cause of both the Great Depression and the rise of fascism. Notably, deflation contributed to a rapid trade deficit increase in Germany.
Once Europe returned to the gold standard, it saw widespread deflation and consequent unemployment, particularly in the UK and Germany. The effects of deflation caused by a return to the gold standard, and related issues in the US and France which accumulated much of world gold reserves, is widely considered a major cause of both the Great Depression and the rise of fascism. Notably, deflation contributed to a rapid trade deficit increase in Germany.
Some light reading:
https://www.cato.org/blog/world-war-i-gold-great-depression
https://cepr.org/voxeu/columns/did-france-cause-great-depres...
https://www.brookings.edu/articles/germanys-trade-surplus-is...
https://eml.berkeley.edu/~eichengr/fetters_gold_paper.pdf