Why were goods such as sugar, shoes, and gasoline scarce during World War II?

These goods were needed for war production and the war effort.
There was little demand for these goods during World War II.
The US government sent these goods to developing countries.
Trade of these goods was completely banned during the war.