I go through something similar any time I don't get my way. I feel like crying, I get moody and irritable. I don't want anything to do with the person who didn't give me what I want either. I don't really know where it comes from but I just wanted to let you know you're not alone.
Even during them I look at myself like "wtf is going on? Why am I behaving like this? how can I stop?" but I can't stop, the feeling is still there.