A woman's voicebox is smaller, so the vocal cords are shorter. The shorter the vibrating sound producer, the higher the pitch produced. Try this on a violin or a guitar. Stop the string closer to the bridge and vibrate it. It will have a higher pitch.

I knew it was something like that.