Dear student, pressure due to liquid depends on density of liquid, acceleration due to gravity and depth within the liquid. Pressure due to gas depends on the temperature of the gas, mass of single molecule of the gas, acceleration due to gravity, and height within the gas. Thanks and regards.