The main reason why God gave this command was not to expose our nakedness in the public, and to others we were not married to.
لا تياسىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىى ىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىىى فرج الله قريب من غير عمليات