Well, there might be some cases when people disconnect instead of resign:
case1: when the opponent is in a winning position and have many advantages and suddenly you found a forced checkmate combination or (his or her) queen is lost, the opponent will get annoyed and disconnect from the game, which is actually a bad thing
case2: when your opponent network is bad, the game will be abandoned.
case3: when people start the game with zero interest and the game was not going in their strategy, people often left the game instead of resigning.
case4:By mistake closing the tab may lose the connection sometimes.
I hope I clarified your question to the best of my knowledge.
why do people do this ?