@AnonymousMoose,
That is crappy behavior. There is no excuse for any person to act that way. You shouldn't waste any time thinking about why he is acting this way. It is his problem, not yours.
My advice, ignore him and move on with your life. If you feel at all threatened, get a restraining order (and then ignore him and move on with your life).
This is ridiculous behavior. Do what you need to do to feel safe, but then forget about him.