الإجابة
Alhamdu Lillah
This Ayah came in the middle of a debate in which Allah SWT was responding and clarifying an accusation the disbelievers made that He SWT took angels as His daughters.
At that time in
Furthermore; Tribalism was quite prevalent phenomena. Arab people at that time used to prefer males over females for military purposes too, meaning, boys were potential fighters and protectors for their families and tribes, while girls are not as they do not usually fight.
With this in mind, Allah SWT was responding by using the logic they understand by saying: How comes that you accuse Allah of having offspring? And not even boys, the one you like to have, but girls (whom you feel ashamed of) who are brought up in adornment and who could not fight or dispute.
Nevertheless, some Tafseer resources indicate that (idols) are the ones meant in the Ayah in question. This approach is attributed to both; Ibn Zaid and Al-Dahhak. Both are renowned scholars of Tafseer (religious interpretation of the Holy Quran)