Prayer is interesting. God is in control, but we're told to pray. I've seen Him use our frailty, including our pitiful little prayers, to do some amazing things. As I said it seems to me God uses all that to bring people together, bring us strength, magnify/glorify His name by showing obvious acts of His hand in answer to prayer, etc. Just a touching, sad (through the lenses of this life) situation.
God's love and mercy to these dear folks...