When Jacob took partially peeled, stripped, and spotted branches and placed them in the watering troughs so that they would be in front of flocks when they came to drink, did he believe that merely seeing the striped and spotted branches would cause the animals to give birth to spotted offspring? No, he did not. God commanded him [Genesis 31:9-12] to set up a striped branches, which he did, not as a physical means to the end of producing striped or spotted offspring, but rather as a symbol of Jacob’s faith and obedience.
Remember in a parallel situation God later caused Moses to set up a bronze snake in the wilderness when the people had been bitten by serpents. The people were not healed by the snake, they were healed by God through faith expressed in their obedience in looking to the snake. They were not looking to the snake for any power or healing, rather it was a symbol of what God was going to do.
In a parallel, but not identical way, Jacob’s trust in God would have been similarly rewarded. In the next chapter, Jacob speaks of having had a dream about streaked, speckled, and spotted cattle in which God spoke to him. It may be that God told him what to do on that occasion.
Here, the Messenger of God says that He is the God of Bethel. Bethel was the place of Jacob’s dream. In that dream, God said, “I am the LORD God of Abraham your father and the God of Isaac; the land on which you lie I will give to you and your descendants” (Genesis 28:13-14). So, if you put this together and follow the sequence, the Angel is the God of Bethel, and the God of Bethel is the LORD God of Abraham, and Isaac, who promised them the land. And, again, Judges 2:1 says that the Angel swore to give the land. What we are seeing is the exact same things being performed by the Lord and the Angel. We will see more of this in Genesis 48, when Jacob is on his deathbed: