There are many buttons in the TARDIS, most of them should only be pressed by professionals like the Doctor. Derpy, on the other hand, isn't a professional and she pressed a button. The TARDIS crashes into the universe of Minecraft leaving the duo of ponies stranded in the pixelated world with nothing but a broken TARDIS and each other.
Thanks to Lexicon and Minjask for editing!