Don't belittle prayer into newage bullshit.
Prayer is communication. It works because of the Being on the other end. When you think of prayer as something that modifies reality directly you remove that Being on the other end and turn it into the Christian version of spellcasting. It's not.