I used to be Christian, so I'll answer by reference to the books I was brought up with, which are likely to reflect many principles in other Holy Books.
The books of the Bible were written by men in a patriarchal society, and women were subjugated. Controlling how they dressed and the concept of pre-marital virginity, under pain of death in Deuteronomy, was part of that. And the Adam and Eve story was a myth that tried to explain how death, toil and other woes came into the world; and like the Greek Pandora myth, a woman is blamed (and by extension, in a patriarchal society, all women).
It even implies that women shouldn’t wear trousers: “The woman shall not wear that which pertaineth unto a man, neither shall a man put on a woman's garment: for all that do so are abomination unto the LORD thy God.” (Deuteronomy 22:5)
That subjugation even appears in the New Testament. Look at what Paul says in 1 Timothy 2:9-15,
"In like manner also, that women adorn themselves in modest apparel, with shamefacedness and sobriety; not with broided hair, or gold, or pearls, or costly array; but (which becometh women professing godliness) with good works. Let the woman learn in silence with all subjection. But I suffer not a woman to teach, nor to usurp authority over the man, but to be in silence. For Adam was first formed, then Eve. And Adam was not deceived, but the woman being deceived was in the transgression. Notwithstanding she shall be saved in childbearing, if they continue in faith and charity and holiness with sobriety."
This basically translates as, "Women, for goodness sake cover yourselves up. It's your fault we got pushed out of Eden, so shut up and get on with childbearing!"
He even has the cheek to insist that women keep their heads covered and claim that men were the image of god but women weren't: "For a man indeed ought not to cover his head, forasmuch as he is the image and glory of God: but the woman is the glory of the man. For the man is not of the woman: but the woman of the man. Neither was the man created for the woman; but the woman for the man." (1 Corinthians 11:7-9).
He'd turn in his grave if he knew about the feminist movement. And luckily women and men are now considered of equal status. But some of the old attitude still persists in some religious people, including some women.