The Soviet Union was able to maintain control over every country in its Warsaw Pact by setting up communist governments that were essentially puppets to their masters in Moscow.
Poland and Hungary were in the Warsaw Pact and so were ruled by puppet communist governments. These governments were only allowed to pursue policies that the Soviets wanted and if they refused or deviated, they would be invaded by Soviet troops.
The German government was presented with a massive bill after World War I. This crippling debt load caused Germany to near collapse and many see a direct line between the punitive economic sanctions and the rise of the Nazi parti.