Also to be fair, from the above Wikipedia article:
Hyperinflation caused considerable internal political instability in the country. Historians and economists are divided on the causes of this hyperinflation, particularly the extent to which it was caused by reparations payments.It was 25% of their total debt (much of which was from war spending). Losing a war is expensive even without reparations.
Whilst ruinous to the economy and politically destabilising, hyperinflation had advantageous aspects for the German government as, although the war reparations were not listed in paper currency, domestic debts owed from the war were listed, meaning that inflation greatly reduced this debt relative to revenues.So it looks like they were trying to make the reparations payments more manageable by wiping out the domestic part of their debt.