Perhaps one of the reasons some women wear slacks or jeans is because that way they don't have to worry about men trying to get a peek at their privates.
Using that same logic it could be that some women wear skirts so men can look at their privates.