the comb removes electrons from the hair.
electrons and protons are charged particles and they are transferred from one surface to another upon contact. electrons are negatively charged particles while protons are positively charged.
the hard comb removes electrons from the hair. since there is lost of electrons in the hair, its surface becomes positively charged.