Though this might be interpreted as an ideological decision, another way of seeing it is that Stalin did this in order to more effectively tax and control the peasantry  that is, more effectively for Stalin and the elite controlling the Soviet state, but of course disastrously for the peasants themselves.