Cows are smarter than they look. Long ago I worked in a dairy operation and they would do things to fuck with you... like if you weren't super careful in a milking stall they'd casually lean to one side ("oopsie! my bad") to squish you. Or let the poop rip at just the right moment.
I don't blame them one bit.