Increased resistance to bacterial respiratory infections in females found to be caused by estrogen, which activates nitric oxide synthase 3 (NOS3).

www.sciencedaily.com

Interestingly, additional resistance could be conferred to male mice by increasing their estrogen.