Fuel pressure gauge question

Why do some fuel pressure gauges have a liquid in them ? I assume it’s oil ? Is there any advantage of a gauge having this liquid or not ? I assume it’s for the purpose of preventing the needle from bouncing back and forth too fast. You know, to slow the needle down. But, i’m not sure and always wondered about that.