The only logical answer to the question of why Elijah needed to pray is to imply that God has chosen to work through people. Even when it is the Lord himself initiating something, earnestly desiring to do it, He still needs us to ask.
Getting in God's Face (ed. Baker Books, 2006) - ISBN: 9781441267078