The enemy only kills the Roshan because Dendi wants him to kill the Roshan.