When you, or your enemy use a move that deals damage and have a debuff (lowers a stat), the stat will not decreasy if the enemy faint (the enemy pokemon of the move user).
For example, a Heracross used Close Combat, and killed my Poliwhirl, and his Defense and Sp. Defense didn't drop. But when he used the same move with a pokemon that didn't faint, his defense and sp defense lowered.
For example, a Heracross used Close Combat, and killed my Poliwhirl, and his Defense and Sp. Defense didn't drop. But when he used the same move with a pokemon that didn't faint, his defense and sp defense lowered.