Mold on a mattress is typically caused by excess moisture or humidity, inadequate ventilation, spills or accidents, and prolonged exposure to damp conditions.