It was not a bug. It was not cheating.
You had an issue with the connection on your side. To your opponent, it looked like you just disconnected and never returned. They had to wait out a few ropes and then were given a free win.
See Endless turn, Card Stuck Hovering, and Never Roping
EDIT: Ninja’d by Theoden, but leaving it up for the link