This was an attempt to escape from the angel of Yahweh in the road.
Sometimes animals are referred to as "her" or "she." AT: "It went"
"pushed Balaam's foot against it" or "hurt Balaam's foot against it"