Ambergris is believed to be ejected by sperm whales, possibly to relieve intestinal blockages. Once expelled, it floats on ocean currents for years, or even decades, before washing ashore. Its journey through the marine environment contributes to its unique scent profile and appearance.