Rock holds clues to Red Planet’s atmosphere and surface conditions