The horse in the beginning

I’ve read on this blog that the boy was responsible for breaking its leg. When? How? Why was the old man following with the gun if the horse was just running he knew it was going to break a leg? I get the metaphor, but the shooting of the horse didn’t make sense. It seemed fine.....?