Having pits or holes in the surface, or having had the pit (seed) removed from fruit.
From 'pit' (a hole or cavity, from Old English 'pytt') plus past tense suffix '-ed'. The word has been used since medieval times for various types of holes and cavities.
When someone's face is 'pitted' from acne scars or disease, it's using the same word as removing the pit from a cherry—both leave behind small holes in the surface.
Complete word intelligence in one call. Free tier — 50 lookups/day.