A wartime effort has to keep supplies moving daily, or the front collapses.
Whereas the need for vaccines is heavily deferred - your population is already vaccinated in peacetime, and you are unlikely to need to make a novel vaccine over the course of a war, nor vaccinate new population during one either: that large vaccinated population providing herd immunity gives you a lot of runway for children with less access.