Source: https://www.britannica.com/event/Asian-financial-crisis
The "Buffet Governments" of Gen. Chavalit, and earlier Banharn were mostly responsible for not having enough currency to support the peg, after acquiring a lot of foreign debt (from IMF and World Bank), but there were a lot of other factors:
https://en.wikipedia.org/wiki/1997_Asian_financial_crisis