Government have many roles to play to the citizens at least providing food items that will enable people in society to aim a living,because currently many people are suffering and government fails to take care of people's needs,what is the responsibilities of government in the society is to provide the needs of the mass and make good infrastructure for their people for a better living.
In many countries were their is a numerous disease attacking individual's government fails to respond to help their citizens why,what is the functions of government when their is lack of food in living habitat of higher and lower organisms in a societies.
governments usually have to first do their governmental duties, the problem with carrying about food, is that it is going to be abused.
therefore in capitalism, the government relies on automatic market mechanism, people produce food that is being bought by the contractors of the government,
since food industry is a very safe business, there is usually plenty of food for most people. because its a low risk industry and people tend to all want to have a lot of own children to protect themselves therefore they want to work and produce on basis of life.
in america there is today the problem that people simply don't want to work or produce food on their own and live in the cities demanding stuff from private enterpreneuers or "authorities"
usually if there is an extreme automation of food production, people usually still produce food but live in poverty and try to get industry/construction city jobs. as private farming only keeps them alive but doesn't make them wealthy of give them a lot of liquidity.