This gets us into a discussion we have had here before with theists: why bother to pray? God already knows whatever you are going to tell him. Nothing you say is going to change his mind about anything, since everything he does is perfectly well-planned. If your mother is sick, asking god to make her well is pointless. He already decided whether to do that or not, way back when he first made the universe. Oh, of course all answered prayers must look exactly as if god had nothing to do with it.
God decides to give a woman in need of a kidney transplant a kidney. Because she prayed. But god has to kill a young man to get the kidney. The young man's family prayed that he would be safe that day, but god said screw their prayers. Kill him and give that kidney to the lady. All part of his previously determined loving plan.
Unless you think god is making up his mind about things from moment to moment. Like he is constantly watching a billion cosmic tv monitors in heaven simultaneously, waiting to see some believers fall to their knees and ask for some favor. God first ascertains how sincere the person is-- of course making sure that they are of the correct faith and are praying to the right god. Then he consults his database on that one particular person to see if meet his arcane criteria to see that they are deserving of a granted prayer.
Next--and this is the most important part-- god cross references how answering this prayer will intersect with his Eternal Plan for Everything in the Universe. Maybe answering the prayer fits with his plan to bring about Armageddon in the next four years. So god says, what the heck? He throws out all the criteria and he answers the prayer, even if the person is not sincere or deserving or even of the right faith. Or maybe the person is deserving and sincere etc, but the prayer does not fit the eternal plan. Prayer has to operate something like that if what believers tell us has any basis at all.
As for thanking god for something, again, he already knows whether you are sufficiently grateful or not.
Prayer is therefore not about communicating with god at all. It is about people reassuring themselves that there is someone (out there, somewhere) who cares about them.
Given that god does not react to your prayers anyway, it does not matter who or what you pray to. Jehovah, Satan, Thor, Ahura Mazda, a raindrop, a hummingbird, your next door neighbor, a carton of juice or your dog. The reaction from god will be exactly the same. Yes, no, maybe, later.
God is not going to do anything different because some humans asked him to change his mind. So other than a feeling that there is someone listening and out of habit, why pray?