The first decade after the Russian Revolution was characterized by a power struggle and search for direction in the communist party. First there was "war communism" with forced socialization and central control. Towards the end of the civil war, there was a switch to a form of market socialism, for both ideological and pragmatic reasons. Many people even got wealthy during that time. Then Lenin died and Stalin started consolidating his power. The first five-year plan marked the beginning of the kind of communism we now know.
During the civil war, communists saw kulaks as enemies, as their loyalties were at best unclear. And because they were convenient scapegoats. Most Russians were peasants, and kulaks were the neighbors who were better off than you. When things were bad, you could blame kulaks for your misery, because they had more than you.
Later kulaks were tolerated as a necessary evil in market socialism. Then Stalin started his "dekulakization" campaign. Millions of kulaks were deported (mostly to Siberia and Kazakhstan), which was a major contributing factor to the famine in the early 1930s. And when Stalin's purges started, most of the victims were from former kulak families.