[How is it with you, how do you judge?" He means: Is this how you judge? You assign sons to yourselves, and you assign daughters to Allah.
[﴿مَا لكم كَيفَ تحكمون﴾ يُرِيد: هَكَذَا تحكمون؟! تَجْعَلُونَ لأنفسكم الْبَنِينَ، وتجعلون لله الْبَنَات