Moles occur when skin cells called melanocytes grow. Babies can be born with moles that are called congenital nevi, while other moles develop over a person’s lifetime.