There were a few episodes in the previous season where he was starting to show affection towards Regina, or at least understanding that she genuinely cared for him. That response didn't just come out of the blue, though the use of the word "mom" was a bit awkward.