Male is literally the same kind of word just for the opposite sex/gender; the term specifically points out the ability to produce sperm (in many dimorphic species) for the purposes of reproducing with the opposite sex. It’s literally just saying “your distinguishing characteristic is your ability to inseminate another of your species” and is just as dehumanizing.
The reason you would use it in that context is because it’s “[gender specific noun] of all ages.” Where if you were to say “boys of all ages” or “men of all ages” it would imply either all ages under 18 or all ages at or over 18.
This is the same context in which you would use female as a noun, as girl/woman implies a restricted age range, just as boy/man, when you specifically don’t want one.
And then calculates tax right at the register. They have everything they need to do it, it’d hurt their bottom line and be consumer friendly so they don’t.