To make things worse for someone who is going through a difficult time.
rub salt in someone's wounds
verb
To make a painful situation even worse (even with the best of intentions).
How often have the words kick someone when they are down and rub salt in someone's wounds occurred in a corpus of books? (source: Google Ngram Viewer )