The verse about modesty begins with the believing men: tell them to lower their gaze and guard their modesty, that is purer for them. Only then does it address women. The Quran also says that hearing, sight and the heart will each be questioned, so the eye that looks is accountable for its looking. When Jarir asked the Prophet Muhammad ﷺ about a sudden glance, he told him to turn his eyes away, and in another report, when a man named al-Fadl kept looking at a woman on the pilgrimage, the Prophet ﷺ turned the man's face to the other side. The report does not tell of any rebuke to the woman.
The verse on outer garments gives its reason as being recognised and not harassed, and the Quran says that those who slander or wrong believing men and women undeservedly carry the guilt. So the duty not to harass falls on the one who harasses. Clothing may be a protection in some settings, but it is never an excuse for the wrongdoer, and no text of the Quran or the Sunnah excuses an attacker because of what a victim wore.
Sadly, in some communities, the victim is blamed, and many Muslim women and men speak against it. This is a moral failure of people, and the texts do not support it. A woman who chooses hijab and a woman who does not are both owed safety and respect.