I concur.It could be a masochistic streak within himself that he hasn't yet recognised but subconsciously his interactions with you fuel this desire !
Maybe his projected meaness towards you is in some ways a wanting desire for you to be mean to him but as your such a nice guy this frustrates him even more causing him to be meaner with each response .