A histone ubiquitination process in which a polymer of ubiquitin, formed by linkages between lysine residues at position 63 of the ubiquitin monomers, is added to a lysine residue in histone H2A or the variant H2AX.