It's not being said because he actually wants a motherly figure, he is saying it because the advice and things you say are what a mother would say.
It can be said as a sort of insult sometimes but he doesn't seem to mean it that way.
I think you're over thinking it, it's just a comment one...