Traditional pickles are very good for health. They are made by lacto fermenting vegetables are are full of enzymes and good bacteria that improve the gut health.
Vinegar pickles are instant pickles made in factory. The company will chop and steam the vegetables so that they become soft. Then they will add salt oil and vinegar to it. To preserve they will add a lot of preservatives also. Since no microbes can survive the steaming and preservatives... vinegar pickles are no longer good for you. They are just instant food that adds spices, sourness, and taste without any associated health benefits