Statements implying that someone lacks maturity (i.e. "you’re so immature" or "i guess you don’t understand these things") are frequently a violation of the prohibition against causing pain with words.
Lesson 2 It is onaas devarim (verbal abuse) to make insulting remarks to someone about his/her cooking!