Why do cosmetic jars have inner liners?

Why do cosmetic jars have inner liners?

Cosmetic jars
Jars often use inner liners to add another layer between the product and the closure. Cosmetic jars can hold creams, balms, serums, lip balms, and ...