Yep, squash sex.

The female flowers are the ones with the ovary (proto-squash) on the stem end, and the big sticky stigma in the middle. The male flowers have a single anther that's covered with pollen.

If your female flowers are shriveling before they even start to grow into squash, that's a pretty sure sign they're not getting pollinated.