Cattle have a flight or fight response which allows them evade danger in the wild. However, if this reaction to danger or uncomfortable situations is prolonged it leads to stress.
Stress releases a hormone called cortisol, which depresses immunity. There is nothing more important when we talk about disease than a good healthy immune system. Good immunity allows cattle fight disease and infections. This is why we vaccinate cattle to help stimulate their immune system against diseases.