When salting, salt reduces the growth of spoilage bacteria and molds while allowing friendly bacteria and local enzymes to populate and break down the relatively flavorless protein molecules and lipids found in fish. This, in turn, reacts to produce even more complex flavors.