How does God answer prayer?
Back in the day, the rock band The Doors performed a song titled "Petition the Lord with Prayer." Its refrain ran-in contrast to the title-"You cannot petition the Lord with prayer."
I am not sure what Jim Morrison had in mind when he wrote those lyrics. But in a way they imply a fair question: Why do we ask God for certain things to happen?