As Blew it says, they weren't chasing you, they can be curious or have other reasons for following. Since my brother has been a lifelong dairy farmer and I've worked with him at times, I'm used to cattle.
On one occasion I had a herd on another farm charging towards me as I neared completion...