For Thailand and Cambodia's leaders, deadly border clashes can serve as a public diversion from mounting problems at home, analysts say.