Miliary tuberculosis, as seen here, typically occurs when resistance to mycobacterial infection is poor.