Beacuse when the state/proletariat steals from from the
rich and gives away the loot to everyone else, the recipients of the loot are esentially the thief's accomplice, therefore stealing is okay. Also there is little to no private property, so taking out of the collective good is not technically stealing, like pandaman exemplified with the Russian proverbs above.
Maybe their basic needs were provided when everything was nice and rosy, after they looted. But when the economic situation went south, then you've got food rations, curfew and other stuff that is only appropriate during wartime. Also add arbitrary justice to that. For instance you were entitled to a 250g pack of butter, a box of eight eggs, a glass of oil every month and a bread every day. This happened while the ones in power were more equal than the rest. Yes, that's only providing basic needs and people were sick of it. So everyone stole from work. They stole food, they stole screws, they stole lamp oil just in case the electricity went off. They stole whatever they could lay their hands on. Some of the people stole just to get back at the commies who robbed their elderly relatives and then integrated them into the new and great communist society.