Pigmentation can be caused by factors such as sun exposure, hormonal changes, aging, and inflammation.