Because the communism is a convenient ideology for totalitarian states to exploit and control the population.
It's exactly like the middle-ages Christianity, with the Bible promoting humanitarian ideology, and the church exploiting the hell out of the population.
That's also why communists banned all religions, they don't want any competition.