Why is ‘Huwa’, which is the masculine pronoun for Allah, used in the Quran?
In Arabic, the word of Allah is a masculine word. Since the word “Allah” is masculine, the masculine pronoun huwa هُوَ is used. This use is not because Allah has a gender, but because the word is masculine. Even if the male pronoun, huwa, and the female pronoun, hiya هِي , was used for Allah this would not indicate that He has a gender. The reason for all this is that the word Allah and His pronoun are counted as masculine.