That's controlled via the Role assignment policy, as detailed for example here: https://learn.microsoft.com/en-us/exchange/permissions-exo/role-assignment-policies
To disable this feature, assign a policy that has the MyDistributionGroups role removed. In addition, you can consider removing the MyDistributionGroupMembership role as well, to prevent users from joining/leaving groups on their own.