This is sort of a just-so story that isn't completely true. Stalin pushed "socialist classicism" [1] as an aesthetic, and it wasn't until his successors took over that modernist architectural ideas imported from the West became a hallmark of actually-existing socialism.
[1] https://en.wikipedia.org/wiki/Stalinist_architecture