My Win10 pc originally had Win8 and then Win8.1. I have few problems, so yours should not be to blame.
Some strange things happen after Win10 updates, particularly the major Win10 feature updates. When that coincides with an Avast version update then that can be compounded.
I have once had to resolve such an issue by doing a complete uninstall (using avast uninstaller), then dowloading and installing latest avast afresh. Before you do that save your avast settings so you can reapply them to the new version (19.5).
I hope that will ultimately provide you a more stable system.