Prolonged hospital stay increases the risk of HAI because long-term hospital stays are all severe cases with many complications, including HAIs, whereas hospital-acquired infections prolong treatment.