rub it in means to make something worse
eg.
“I can’t go to the party friday, I have to work”
“Well I can go, it’s going to be heaps good! Everyone will be there”
“Rub it in why don’t you”
OR
“Can you believe I got the same camera as you but 50% discount!”
“alright don’t rub it in”
“sorry!”