The short answer is moisture. Specifically, the moisture that comes from perspiration can cause your pillow to become discolored. A compound found in sweat called urea is often responsible for those unsightly stains. Other moist culprits of pillow stains can include saliva, lying down with wet hair, and chemicals in certain types of makeup.