Let's start with talking snakes and asses, houses and garments that catch leprosy and get "greenish or reddish strakes" as a result, speckled poles by the water trough causing goats to have speckled kids......
The pot calling the kettle black:
Somehow a fish came ashore and evolved into a land animal and somehow a land animal grew wings and evolved into a bird.
As to how any of this came to be/biogenesis - evos run and hide.
The context of the Bible is: "In the beginning God...."
IOW, the context is miracle which explains the origin of talking asses and cattle breeding via an unorthodox method. The point is God blessed Jacob's cattle.
Genesis 48:15 (Jacob speaking)
And he blessed Joseph, and said, God, before whom my fathers Abraham and Isaac did walk, the God which fed me all my life long unto this day