Microsoft Defender antivirus will be disabled automatically when third-party antivirus software is installed. This is the expected behavior. To set Microsoft Defender as the antivirus provider, open Malwarebytes settings and uncheck "Always register Malwarebytes in the Windows Security Center".
Malwarebytes will keep running regardless of that setting. See screenshots in the article Malwarebytes Disables Defender.