Answer :

Pickles contain high concentration of salts and a lot of oil and no or very low water content. Therefore these conditions does not allow growth of microorganisms. But in sambar situation is reverse,especially water content is large, which is favorable for growth of microorganisms.
The sambar have preservatives like turmeric,oil ,salt and lots of water this allows to the growth of bacteria but in the pickles there will no water content so that it wouldn't get spoiled Hope this helps ☺️

Other Questions