Do you regret that?
Sometimes you might say something to a friend that you regret, however it seemed like a good idea at the time. Perhaps it was funny, true and had to be said, or just your effort to lighten the mood and explain that it wasn’t a life and death matter but could be if present efforts continue.
Yes, you regret it, but now it is your turn to relax and stop worrying about it. If this other person was a true friend, they should look back on it all, realize eventually the humour in the situation and laugh along with you.