Resigned Game

During my game against Xorrez, I turned my phone from portrait to landscape, and it looked like the game reset. Although it showed that my opponent's clock continued to tick away, a message came up that I had resigned the game. Please explain to me what happened. Thanks

you fat fingered the resign button probably, consider putting the "confirm resignation" feature on