Relations between China and North Korea have warmed in recent months, following a period in which Kim focused more heavily on strengthening ties with Russia over its war in Ukraine.