Just why do people really need to know what kind of genitals someone has, I wonder, aside from some obvious situations.
Sex is biological, while gender is cultural. They're often the same, but not always.
Sex is binary: you either have XX or XY chromosomes. It doesn't really make sense to make gender a binary category - that's a really black and white way of looking at a very gray-scale picture.