How and why would Jesus pray to God if he is God? The Bible says Jesus prayed with loud tears to “God", and "God" heard his prayers because of his piety.
One of those days Jesus went out to a mountainside to pray, and spent the night praying to God.
In the days of his flesh, he offered up both prayers and supplications with loud crying and tears to the One able to save him from death, and he was heard because of his devotion to God.
Very early in the morning, while it was still dark, Jesus got up, left the house and went off to a solitary place, where he prayed.
Going a little farther, he fell with his face to the ground and prayed, "My Father, if it is possible, may this cup be taken from me. Yet not as I will, but as you will."
At that time Jesus said, "I praise you, Father, Lord of heaven and earth,"
After he had dismissed them, he went up on a mountainside by himself to pray.
But I have prayed for you, Simon, that your faith may not fail.
"Now my heart is troubled, and what shall I say? 'Father, save me from this hour'? No, it was for this very reason I came to this hour. Father, glorify your name!"
Jesus Learned and Had to Be Taught
Jesus is supposedly fully God, and therefore omniscient. But the Bible demonstrates that Jesus had to be told things that he didn't know, and that Jesus even learned lessons that made him wiser. Jesus even admits that God knows some things that he doesn't.
"Although he was a son, he learned obedience through what he suffered. And, once made perfect, he became the source of eternal salvation for all who obey him."
"… I do nothing on my own authority, but speak just as the Father taught me."
"But of that day and hour no one knows, not even the angels of heaven, nor the Son, but the Father alone."
"but now you are seeking to kill me, a man who has told you the truth that I heard from God."
"Now when Jesus learned that the Pharisees had heard that Jesus was making and baptizing…"
"And Jesus kept increasing in wisdom and stature, and in favor with God and men."
The above post is based on an article taken from here.