Animals, including humans don't always die peacefully, sometimes they need to be euthanized to end their suffering. I believe vets in Thailand are legally allowed to perform euthanasia if the animal is suffering. However, not all vets may agree to do it.