Reappering Error: ModuleNotFoundError

I know there are a few Threads about missing modules and I am not looking for a solution:
The quick fix: closing and reopening VSCODE.

Does anyone know, why this error appears again and again after a random time and why only quitting and reopening vscode fixes this?

Cheers Moerv