I’d say that’s a version of a soft termination capacitor. They are used when there’s risk the board is flexed or exposed to mechanical or thermal shocks to prevent cracks in the capacitor (causing it to fail short).
They are called soft termination, I’m not sure if that’s available for every component, it came to my attention on ceramic caps. It’s a dedicated feature you can filter components e.g. on Digikey.