There is no allegation that the main criteria for the algorithm is "being male."
The allegation is that the human double-checking of the algorithm confirms the target is male (as opposed to woman/child.)