First of all, let us note that Stalin is not considered to have been a fascist dictator. He was a communist dictator. However, the same general sorts of factors led to his rise to power as well.
In all of these cases, dictators were able to rise because of chaos and unrest of one sort or another. In the USSR and Germany, there was unrest because of the poor performances put on by the previous