Newatthis
So are you saying it’s out of vanity?
i'm surprised that if you have been studying religious practices and cultures that you would think it was out of vanity.
these attitudes go back very far, and are found in many religions and cultures.
basically a woman's hair is regarded as integral to her beauty, and therefore only to be seen by her family, or husband.
it is precious and private. it would be akin to going about topless perhaps, in our society.
there are also issues about authority; so a man wears headgear that shews his rank or function or power.
thus a man will remove his hat, to shew that he is not standing on his authority.
this can still be seen in prisons, where an officer entering another wing will ask for permission and remove his cap on entering, even though he has keys, and is entitled to enter by his job. he defers to the role of his brother officer who is in charge of that wing.
re the women wearing wigs; some say this developed hundreds of years ago in russia where local warlords would raid and rape the most eye-catching women.
this is also thought to be why Jewish lineage is assured through the mother, ie if your mother is jewish, then you are too, but if only your father is, then not, strictly speaking.