See: Boy Or Girl? It's In The Father's Genes
As the odds were in favour of men with more sons seeing a son return from the war, those sons were more likely to father boys themselves because they inherited that tendency from their fathers. In contrast, men with more daughters may have lost their only sons in the war and those sons would have been more likely to father girls. This would explain why the men that survived the war were more likely to have male children, which resulted in the boy-baby boom.