The correct option is D.
During peptide formation, when two amino acids come together, a hydrogen atom and two molecules of oxygen are released in form of water molecules. The amino acid that present the carboxyl group to the reaction loses an hydroxyl group while the amino acid that present the amino group to the reaction loses a hydrogen.