It originated as a thin soy sauce made from fermented fish most likely from a region called Tonkin, or in what we call Vietnam today. It was common throughout Southeast Asia in the 17th century.
There are more than a dozen varieties of fish sauce out there, Thai and Vietnamese being among the most popular. What's the difference between both types?