The reason Jesus would say this (Matt. 27:46) is because he was a man as well as divine, and as a man he was made under The Law (Galatians 4:4), and for a while lower than the angels (Hebrews 2:9). People sometimes don't realize that Jesus, being a man under the law, would have someone he would call God, someone he would worship, etc., because he is under The Law. The law required worshiping God and praying to him.
Again, Jesus has two distinct natures, the divine and human. We call this the hypostatic union and it is exemplified in verses like the following.
- John 1:1, 14, "In the beginning was the word and the word was with God and the Word was God… 14, and the word became flesh and dwelt among us…"
- Colossians 2:9, "for in him dwells all the fullness of deity in bodily form."
- Hebrews 1:8, "but of the son, he says, 'Thy throne, O God, is forever and ever.'"