I too have a feeling that skirt lengths came into it.   We rolled our skirts over at the top to shorten them when I was at high school, and I'm a grandmother now, so nothing has changed!   Yes, it's true that trousers for boys and trousers for girls are different.