So I was talking to this girl and I was like "Do you have a sore back? You walk funny". But I didn't really say it in a joking sorta way nor did I sandwich the tease with a compliment by saying "its cute tho" or something like that.

I'm pretty sure that upset her as she was a lot colder and dryer for the rest of the day. What is the appropriate thing to do in this scenario?