Actually, the US didn’t have a famine, it had the opposite. Automation like combines and tractors obviated the need for oxen and farmhands to plow and reap manually. The farmers competed in a race to the bottom (depleting the soil and causing the dust bowl). They fired most farmhands and still had a surplus. Food prices plummeted while giant dust storms became the norm.
The government had to step in and pay farmers NOT to plant, to extricate them from the downward spiral / race to the bottom that the “free market” had producted in the face of automation / massive supply shocks.
Meanwhile, the laid-off farm workers (20% of USA used to be employed in farm-related jobs) migrated to cities but it would be a decade before the manufacturing base was built up to employ them. They lived in Hoovervilles and shantytowns set up to house them. A third of the country’s banks failed and the money supply shrank. The fed sat that one out. You can read books by John Steinbeck and others describing life at that time (eg Grapes of Wrath).
So eventually, projects like the Interstate Highway System, and even weapons manufacturing and mobilization for WW2 caused mass employment. At a time when people needed jobs, this was a good thing for the economy and didn’t need communist propaganda to attract workers. Capitalism’s race to the bottom created the desperation the workers needed for undertake large state projects. And it is about to happen again.
Ironically, around the same time the US had a massive surplus, Russia and China were experiencing massive man-made famines under collectivization. Whether that horrific economic experiment ultimately led to more prosperity through 5-year plans is a contentious question (ideological leftists like Noam Chomsky have told me, quoting Amartya Sen, that supposedly China had less deaths from malnutrition afterwards than India, but that’s hardly a high bar considering their population density).
PS: I don’t mean to pick on communism alone for extreme ideological economic system enforcement leading to famines. The Irish Potato Famine could probably be squarely put into the ideological capitalism column (landlords and property rights trumping people’s lives), or how Britain (a capitalist country) exploited India and the famines in Bengal were also largely due to requisition of grain, similar to the Volga famine during the Russian civil war.