The motivation for development was actually producing fertilizer, as it says in the article you linked.
Apparently, Carl Bosch's refinements to the original Haber Process had the priority goal of ramping up Germany's war munitions instead of feeding the world.