Jinping is well aware that while it is not possible to wage a full-fledged war, local wars, such as the invasion of the Galwan valley, can brighten his image to the Chinese people.
Nepal has not just divorced India politically but has made India its enemy. The entwined relationship has been trampled for sovereignty which Nepal never had in the past and will not have in the future.