A rock on Mars spilled a surprising yellow treasure after Curiosity accidentally cracked through its unremarkable exterior.