As close as Beijing and Pyongyang are on paper, relations between the two behind the scenes are often tense.