In Genesis 16 the Angel of the Lord appears to Hagar, who later refers to this person as God Himself. Why does the Bible use the term "Angel of the Lord" instead of simply saying "God?"
The Second Person of the Godhead is called the Angel of the Lord in the Old Testament, and in fact all manifestations of God in the Old Testament are manifestations of the Angel of the Lord. These two are one and the same, and they are always appearances of the pre-incarnate Christ. The form of the appearance may change, but it's always the same Person (Christ) and it's always the Angel of the Lord. Therefore, this term is the Bible's name for Christ prior to His incarnation.
The Bible tells us that the Second Person of the Godhead is the member of the Trinity responsible for creating all things and He is also the only member of the Godhead Who enters into the Creation to become visible:
So the terminology may change from verse to verse, but the meaning is consistent. All appearances of God in the Old Testament are always the angel of the Lord, the pre-incarnate Christ, God Himself.
You might find the following article helpful: How do we know the angel of the Lord is Jesus?