Different principles govern how PVC and ABS pipe solvent cement (technically, it is a solvent cement rather than a glue) functions. The outer layer of plastic on the pipe and fitting melts due to the solvent in the liquid.