The menace in this story consists of dust from the tail of a comet. It consists of a colloid, analogous to smoke, that incorporates an unknown transuranic element. That element has a great affinity for metal surfaces and it weakens their surface tension, thereby enabling rapidly moving parts to cold weld themselves into solid rigidity.In the town of Mayfield high-school senior Ken Maddox is among the people fascinated by a giant comet whose path is just grazing Earth’s orbit. For the next four months Earth will float within the comet’s tail and on the first night of that sojourn Ken’s car and others begin to have problems with overheating. The next day almost all of the cars in Mayfield and other cities across the country have overheated and then refused to start. Soon all machinery is seizing up, its moving parts cold welded to each other. Because the effect is happening all over the world, people begin blaming the comet.
As the disaster becomes progressively more serious, Ken and his friends in the high school’s science club prepare to study samples of the fused metal at the local college, where Ken’s father teaches chemistry, and to try to get a sample of what the comet is putting into Earth’s atmosphere. While they work, Mayfield is cut off from the outside world and the mayor and the sheriff impose rationing against the anticipated shortages.
After a short stint in a wood-cutting crew bringing in fuel for the coming winter, Ken is called to assist in the work at the college. Along with his friends and the other scientists, he helps with experiments aimed at identifying the cause of the cold-welding phenomenon. A spectroscopic look through a telescope, compared to spectrograms of the affected metals confirms that the comet is the source of the trouble. At the same time Ken and his friends make contact with several ham radio operators around the country, intending to share information.
Little by little, as civilization crumbles around them, the Mayfield science team learns about the comet dust and how to protect machinery from it. One by one, the radio contacts cease as violence sweeps over the metropolitan areas, but aided by a clue from Berkeley just before it was destroyed Ken’s father devises a compound that will decontaminate metal surfaces. A failed attack by marauders attempting to rob the town and a flu epidemic decimate the population, but Ken has an idea that using ultrasound will coagulate the comet dust so that it will fall out of the atmosphere. Egged on by a pair of fanatics, a mob burns the college, but not before the knowledge of the ultrasonic coagulators has been shared. With people in more and more areas building coagulators and decontaminating metal parts, people around the world begin the slow and painful process of rebuilding civilization.

Question: Why was it necessary to start rationing in Mayfield?
Answer: The town was cut off and couldn't get new supplies
Alternative answer: Because they are cut off from the outside world and there will be food shortages.