A pipeline leak sent gallons of oil pouring into the Gulf of Thailand, blackening the shores of a resort area and threatening wildlife.