I think part of it is that for decades/centuries Women who have been raped have had to put up with people, including at times the Police uttering variants of "well she shouldn't have been dressed like that/been there/been out alone/been out that time of night", so there is for some an almost instinctual reaction to anything that even hints that a woman could have done something differently and avoided it, even when the advice would apply equally to any crime committed against the person or simply the environmental risks you face when drunk and alone.
I would never blame the victim, as the blame for a crime lies on the perpetrator, however knowing the criminals are out there I would always advise taking steps to prevent being an easier victim (lock doors, close windows, don't get so drunk you're easy to steal from).