This Is Oda changing his character.
After Time skip Sanji Is even more of a simp.
Also, he wasn't attacked or anything, against Pudding he showed how he can be careful.
This Is what Is cool about Sanji.
He's not Always serious like Zoro, but from that reaction he can become as serious as him.