Since god is omniscient, omnipresent and omnieverything else (see? I remember my catechism) I'm presuming he was sitting, or standing, or floating somewhere or other, and observed this entire thing taking place. He heard every prayer. Every cry for mercy. Every cry for mommy. In other words, he watched. What's the point of being omnipowerful if you don't take action? And now the community is praying to him to help them get through this? This is why religion requires a leap of faith. Logically, it is insane.
The only way it makes sense is if the crazy ape himself made up this god. Then, it makes perfect sense.