The organization-wide sharing default setting can’t be changed for some objects.
When a custom object is on the detail side of a master-detail relationship with a standard object, its organization-wide default is set to Controlled by Parent and it is not editable.