Many of these customs have been used for thousands of years, for instance, fermented fish is so because there's an increase of fish production during the rainy season.
Since they haven't had refrigeration for the logest time, they take the excess fish and pickle it with salt and spices making it cook itself in its own juices. That way there was fish during scarce times too.