Why were consumers goods rationed during the war?

They had to ration them, there was not enough goods. If they had not rationed it then businesses would have driven up prices. And to make it fair to everyone and prevent cost rises they rationed them.
The rest of the goods were needed for the war.
because there wasn't much!
Because the military had first choice.