Nobody knows that nothing happens.
God listens to all prayer. But if the person doesn't believe in God, the pray isn't the same as it is for those who believe.
In addition, God answers the prayer according to what is really being prayed. Most people don't know what they are really asking for. For example.
A person might pray for a million dollars, but doesn't get it. Why not? His real prayer was for security in life. A million might make him vulnerable to all the con artists out to get his money. So, he is formally asking for just the opposite of what he is really praying for in his heart. Rather, this praying person gets spiritual peace from God instead, because that is what he was really asking for.

As I wrote you in a previous post, my mother died by cancer at 69. She was a believer, she was utterly religious and what you could call an "perfect christian". She attended the mass every sunday, worked for the local church and so on. I'm sure she prayed until her last breath but she eventually died.
I don't want to start a new back-to-back game of replies with you, but I would like to know where your god was when she was praying him to save her life, and what was his plan for her. Eternal afterlife? Jesus salvation? Mhmm...

Isn't simpler telling that god doesn't exists, and all you religious people are delusional? Seems way more
realistic.