To factorize $xy\left(x+y\right)+yz\left(y-z\right)-xz\left(x+z\right)$ I used the fact that $x=-y$ and $y=z$ and $x=-z$ make the expression zero. Hence it factorize to $\lambda (x+y)(y-z)(x+z)$ and we can check that the number $\lambda$ is equal to $1$.
I'm looking for other approaches/ideas to factorize the expression.
$xy\left(x+y\right)+yz\left(y-z\right)-xz\left(x+z\right)=xy\left(x+y\right)+yz(y+\color{red}{x}-\color{red}x-z)-xz\left(x+z\right)=xy(x+y)+yz(y+\color{red}x)-yz(\color{red}x+z)-xz(x+z)=y(x+y)(x+z)-z(x+z)(x+y)=(x+y)(x+z)(y-z)$