Coupled physical and chemical evolution of volatiles in the protoplanetary disk: a tale of three elements