Discuss how and why the government during The First World War took such drastic measures to control the economy, when historically in Canada governments were supposed to stay out of the economy?

How and Why the government during The First World War took such drastic measures to control the economy, when historically in Canada governments were supposed to stay out of the economy?