Pitting edema occurs because of a buildup of fluids that causes swelling, usually in the lower body. Edema is called "pitting" when there's enough swelling to cause a “pit" when pressing on the affected area. Non-pitting edema doesn’t leave a mark and is usually caused by fluids with relatively higher protein and salt content.
Source: Verywell Health