He doesn't attack you as long as you are engaged with other enemies when the Cambion dies, if you are still wondering what's the variable at play there.
Party control in Baldur's Gate 3 is a complete mess that begs to be addressed. SAY NO TO THE TOILET CHAIN