Answer:
Thats a weird question. But I think it changed over time because dresses are really suitable for bike riding. The hem might get caught on the wheel etc. Which is probably why they started wearing trousers and that eventually became a trend.
Thats just a theory though. Not sure of what exactly happened