If your h is in a MLC, he will think of the relationship that he has w/you very differently. To them, friendship means something totally different than we would think of it. In my opinion, friendship to them means alleviating their guilt and shame of what they have done and continue to do to us as well as if they appear friendly to us, we will be less likely to say no when they want something.
As for him being warm and friendly to you, it could have been a test to see if you will revert back to your old self and he liked what he saw in the way that you've started to do move forward and do things. As for being moody and withdrawn the next day...this is very typical of them because they realize that they still have warm and fuzzy feelings for us and they do not want to have those feelings. Why? Because, in their minds, we are the reason that they are so unhappy.
His behavior can be looked at as the distancer/pursuer dance. Trying to pick arguments is his way of trying to justify why he's doing what he is. You didn't take the bait and continued as you have been. Don't stop...keep moving forward and living your life to the fullest.
Sit quietly, the answers will reveal themselves when you least expect them to. The past is gone, the present is a gift and you need to focus on today, allow the future to reveal itself when it is ready.