Power or humiliation
Name calling is a form of bullying
or power tripping.
There is an old notion that when a women is menstruating that she has a short tempered change in personality and becomes a little less likeable. So "on the rag" becomes a way of putting down a woman when she acts out of the norms although frequently that is not the case.