Thanking Martha and offering, albeit uncomfortably, to kiss her, indicates that Mary is beginning to recognize that other people have a choice in whether or not to do nice things for her—people aren’t just going to cater to Mary by default. Though Mary’s words of thanks are stiff, this moment shows her developing sincere gratitude and humility.