Tensions have bubbled between the two neighbors for months, flaring on Thursday as Cambodia and Thailand exchanged fire.