Good question!
An infection occurs when bacteria gets into your piercing, while piercing rejection occurs when the body tries to push a piercing out.
Rejections happen most in piercings on flatter skin, like dermals and navels. Nipple piercings have a lower rate of rejection, but it can still happen.