In a socialist system, where the government manages the economy, all the decisions are taken by the government: the prizes, the amount of goods produced and the amount of goods sold are all decided centrally, by the government.
This means that if the governments decided to produce less than the demand, some people won't be able to have that product.