Opponent disconnections wins

I don’t know whether this is a glitch but I win around 35% of battles due to the others disconnecting? Is this a glitch or simply a case of the world if I’ll of people with poor connections giving me lots of wins! Feels bad when my butt is being kicked and they disconnect, giving me an automatic win. I secretly love it with guilt hehe