Both nations accused the other of firing first in their deadliest fighting in more than a decade. Thai authorities said the clashes had killed 11 civilians and a soldier.