Your horse and dog was attacked by bees in the ground by your pond what are they?

The might have be hornets who often build their nests in the ground. They also like moist soil which may account for their nest being close to your pond.