Some of that can come down to how you work your cattle in addition to the natural genetic disposition factors. Good stockmanship can change a lot in a herd. I have a LOT of coyotes. I've shot at least 20 over the winter and it hasn't made a dent.
Some of that comes down to your cows too. I want the cows to respond to predators aggressively, unknown dogs aggressively, but non-aggressively to me, the kids, etc and that's exactly what mine do.
I can go out there and sit on a calf safely with no signs of aggression. The kids can go out and sort on foot and even load with no issues. My 8 year old can load the bulls by herself without so much as a sorting stick on hand. When I have my dogs with me, they react and respect them but don't try to run them down.
Coyotes on the other hand? Much different reaction...It's pretty hilarious to see a coyote try to come near them or a calf. They have learned to stay in the pastures the cows aren't in at the time. Occasionally one tries and gets taught a tough lesson. Most of the cows have spent a good amount of time up on BLM land dealing with bears and lions. A good cow should know the difference between you / kids and predators. Some of that is genetics, some of it is stockmanship.
We've been having a big dog problem here lately. Packs of 5-15 dogs running around killing stuff. A group of 6 tried to come in after a couple cows the other day. They quickly existed the pasture shortly after, a couple were limping pretty good. One barely made it out lol.