The short answer to that is found in John 16:23b.
" all that you ask the Father in my name, He will give you."
To me, that clatifies the whole thing.
We pray TO THE FATHER in Jesus' name.
The reason is that when Jesus was here on earth, He glorified the Father.
The Father in turn glorifies the Son by answering the prayers of the believers when those prayers are said in Jesus name.
The Holy Spirit has a vital role in this also.
John 14:
16,17,26
16 And I will pray the Father, and He will give you another Helper, that He may abide with you forever— 17 the Spirit of truth, whom the world cannot receive, because it neither sees Him nor knows Him; but you know Him, for He dwells with you and will be in you.
26 But the Helper, the Holy Spirit, whom the Father will send in My name, He will teach you all things, and bring to your remembrance all things that I said to you.
Also read Romans 8:26.
So, here we see the trinity at work, each has a different role.
We pray to the FATHER, in the name of JESUS, with the aid of the SPIRIT.
the trinity is one in essence, not in role.
In other words: It was the Son who hung on the cross, not the Father, not the Spirit.
It was the Father who raised the Son from the dead, The Son did not raise Himself but had to wait on the Father.
It was the Spirit who fell at Penticost, not the Father, not the Son.
I hope I didn't make things hard.