Once again the boom of artillery, rockets and air strikes sounds along the Thai-Cambodian border.


Villages in a corridor stretching for hundreds of kilometres have been evacuated for a second time in five months. Families and their pets sit on mats in temporary shelters, wondering when they can go home, and when they might be forced to flee yet again.


Why has this happened so soon after the ceasefire brokered by US President Donald Trump in July?


It was ignited by a seemingly minor incident on Sunday, when a Thai engineering team working on an access road in the disputed area of the border was, according to the Thai army, fired on by Cambodian troops. Two Thai soldiers were injured, neither seriously.


In the past this might have been settled by some fleet-footed diplomacy. But there has been little of that this year. Instead a yawning gulf of mistrust lies between these two neighbours, one even Trump's deal-making prowess has failed to bridge.


Despite his claim to have struck a historic peace deal, the ceasefire he forced on the two countries in July was always tenuous. Thailand, in particular, was very uneasy about internationalising the border conflict, and only agreed to the ceasefire because Trump held a tariff gun to its head; at the time both countries were just days away from a deadline to negotiate significantly lower tariff rates on their vital exports to the US.


Cambodia, by contrast, is only too happy to welcome outside intervention. As the smaller country, it feels at a disadvantage in bilateral negotiations with Thailand.


But on the border its troops have continued to engage in confrontations with the Thai army, and, in a move guaranteed to anger the Thai public, to lay new land-mines which have so far caused seven Thai soldiers to lose limbs. Thailand has presented compelling evidence of this, accused Cambodia of bad faith, and refused to release 18 of its soldiers captured in July.


Since July, any restraint there was on the Thai armed forces has gone. Prime Minister Anutin Charvirakul heads a minority coalition, beset with other challenges, and has given the military carte blanche to manage the border conflict as it sees fit.


The army has said its goal is to inflict sufficient damage on the Cambodian military to ensure it can never again threaten border communities. It also wants to take control of several hill-top positions which would give its soldiers greater advantage in future battles with Cambodian forces.


Both sides have been manoeuvring around these positions all year, trying to reinforce road access and fortifications. The Thais believed they were on track to push the Cambodians back when they were forced to stop in July. The military now wants to finish the job.


The motivations at work in the Cambodian leadership are much harder to divine. Former Prime Minister Hun Sen is still the puppet-master, appealing for restraint while his son leads the government.


Yet Hun Sen's interventions in this border dispute have been decisive, including leaking a confidential phone conversation that has caused significant political fallout in Thailand.


Can President Trump bang heads together again as he did in July? Perhaps. But if all he achieves is another ceasefire, it will only be a matter of time before fighting breaks out again. Thailand has stated it is not yet ready for diplomacy, insisting that Cambodia must first demonstrate sincerity before discussions can resume.