I had a really similar thing happen to me in my first year of teaching. A kid was being a smart alack and kept interrupting every other sentence I said with “Yes, ma’am”, even though I was giving instructions for an assignment to the whole class and not asking any questions. I warned him twice to stop and he kept doing it, so I wrote him up for interrupting the class. I told the principal what happened right after the class because I knew the brat was going to go home and tell his parents that he got in trouble for saying “yes, ma’am.” Sure enough, the parents were screaming at the principal before the school day was even over. (The kid texted them on the phone he wasn’t supposed to have in school.) He backed me up though and told them that real respect is when an adult tells a student to stop saying something, they stop saying it.