B. Obito spontaneously activated his MS with an imperfect Sharingan and used Kamui to escape the cave in and proceeded to warp to Madara's Lair.
Both are incredibly unlikely, in my opinion, but it is what it is. And given the almost direct reference to Obito's powers, I'm going with B. We'll probably never know either way, but hey, Kishi does what Kishi does.