I read the wiki for adventure time and the creator apparently said he'll never go into what happened, but its a post-apocolyptic world where magic comes back lol
They'll probably just keep tossing little easter eggs for us to ponder what exactly happened.