I well remember a former bible quoting boyfriend who repeated that verse to me as a way of saying that women deserved pain because they were evil.
I find in reading the Book that He rarely tells us WHY certain things are done.
Claiming that we DO know can make for some rather strange outcomes.