The TSA is pretty strict about traveling with liquids, and because of that, its rules about what counts as a liquid err on the, well, solid side. Aerosols, pastes, creams, and gels are all liquids, so makeup products like mascara, foundation, eyeliner, moisturizer, and perfume are all considered liquid.