Same reason why the Korean War ended. China wouldn’t like a US-friendly country so close to its borders. NK is a great buffer zone and a great way to keep US distracted over South Korea. If NK gets overtaken it means Korea would extend all the way to china’s borders which they would not accept.