And of course King wouldn't kill Sanji lmfao. But it was clearly not him running away. His honour was on the line and Luffy's simply the bigger threat, so of course he went to stop him. Also, King's gonna fight Marco anyway. There is no better opponent for him this arc.