According to the script, this scene required the female lead, Xiu Momo, to finally see the male lead Lin Zixiao, who had been imprisoned for days. Overcome with emotion and pitiful towards his current "fragility," there was a hug and kiss after a long awaited reunion.
Of course, due to Yu Zexiao's distaste for other women's hugs and kisses, this scene had to be altered to use a body double. In the end, it was through editing and a stand-in that the scene was completed without Yu Zexiao having to be touched by a woman like Jiang Xuanqi!
As for Jiang Xuanqi, she had recently gotten quite close with Young Master Liu. To the outside world, her scandal with Yu Zexiao was still believed to be genuine marketing. So, when the two officially broke off, Jiang Xuanqi kept up the act of a fragile, powerless damsel. Even after breaking up with her "ex-boyfriend" Yu Zexiao, she continued to love him without resentment or regret.