No-one knows why: theories range from the notion that it might have an antibiotic effect to the idea that it makes algae less appealing to munching zooplankton.
But the analysis by Kruta and her colleagues indicates their ammonites would have dined on small organisms floating in the water, such as zooplankton, tiny crustaceans, and even other petite ammonites.