system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: Why do some conservative religious groups consider it immodest for women and girls to wear pants?
gpt
From what I've seen, most complaints about women wearing pants are related less to modesty than they are to restrictions against cross-dressing.  Prior to the 20th century, women almost exclusively wore skirts, so some view pants as strictly men's clothing.  This means that as far as they are concerned, women wearing pants counts as wearing men's clothing, which has sexual connotations and is explicitly impermissible according to the bible (Deuteronomy 22:5).

Some arguments have been made that directly relate to modesty and they relate to the idea that pants are often tight and show off the shape of the legs, which apparently meets these people's definition of too sexual.