The sync solution will not delete tasks on either end.

If a Planner Task is deleted the task-level sync field in Project indicates “Deleted”

If a Project Task is deleted the planner task title is appending with “|Deleted”