The hell it's not ! It is just like saying the girl in the revealing dress was asking for it.
The two are not at all alike.