What is most likely the cause of your problem is explained here:
https://forum.avast.com/index.php?topic=221526.msg1474571#msg1474571
It is something Malwarebytes needs to address. Until they do, use Malwarebytes on demand not as a resident program.
I personally don’t use MB. Avast already check for malware so it’s only a duplication.