Generally, hooved animals like goats, cows, and horses are naturally afraid of snakes. In their outburst of fear, they just might stomp on the snake violently until it dies.
Even though these animals have been domesticated, the need to shield their legs will always remain. For this reason, these animals will stomp a snake ruthlessly to death if they come across one.