4D imaging reveals mechanisms of clay-carbon protection and release