We gotta remember that the gender in question was that of the word it and not that of the antecedent of it.

And, just for the record, it was the standard New York Times Sunday puzzle, not a cryptic. Not that they eschew cryptoid clues in the NYT puzzle on any day.