The angel is no longer speaking. Matthew is now explaining the importance of what the angel said.
"what the Lord told the prophet to write long ago"
"the prophet Isaiah"