"Arabs back then were pretty dissolute and promiscuous." As is the nature of humans, hence the development of religion - to exert control, especially over women and sexuality. 
All of the garb and customs of all religions have developed along the way by some guy saying "wear this vestment" be it a chasuble for the priest or the penguin outfit for nuns.