To re-iterate my first post in this thread, I think that the "He" is only a type of figurative language. It doesn't necessarily have to mean that God/Allah/YHWH is a male.
Why is mother nature a "she"? <- Same answer as above.
Why is mother nature a "she"? <- Same answer as above.