I get one or two heifers that get them every year, but track our cows and calves and have never seen a heifer from a cow that had warts as a heifer so don't think it's hereditary.
I have also noticed they tend to come on about 30 days after being bangs vaccinated, so we asked the Vet and he said it can cause warts in some calves. Never had warts on a steer, so maybe there is some fact to it..Idk. However we use to pull or twist them off so they would bleed and fall off, but a couple years ago a guy said to spray "Fluid Film" on the warts. I laughed but curiosity got the better of me, but I be danged if after 3-4 weeks (sprayed twice) the warts were either all gone or a just a small one or two left that were just barely visible. That's all I use now..not sure why it works but it does. Actually kinda fizzes and turns some of them black..Idk why..