The U.S. military plans to buy millions of drones in the coming years as it adapts to modern warfare. But a shortage of explosives is threatening the Pentagon’s agenda.

Odin Energetics, a new Peter Thiel-backed company, is rebuilding a supply chain that has withered in the decades since World War II.