In islam girls should inly show their hair to dad, cousins, siblings they can't show it to strangers it's haram (haram means something that shouldn't be done it's forbidden) and if we do haram things it'll give us bad deeds wearing burkah is good cus if we go out while showing hair and revealing dress every men will look at that girl with bad gaze one of the reason of r*pe cases increasing if we hide and go accordingly to islam nobody will even see that girl it's safe for her and gives good deeds in islam and allow her to go jannah (jannah means heaven in arabic) and the on who shows her hair and wears revealing dress won't even know how heaven feels like they can't enter there as they did a bad thing and did not ask forgiveness i hope this explains your question
wouldn't it be better to teach the men self control? like not to be rude or anything but i feel like its putting the blame on the person getting ed