There might have been a bug in Pokemon showdown's replication of rough skin.
It is common knowledge that if you have 2 Pokemon, one with rough skin and the other attacking, and they both faint when the attackers attacks, the attacker should faint first.
Bulbapedia agrees, although it's not the...