Hello there,
If you need to find the reason for this behaviour you can use the below tools.
Process Monitor is an advanced monitoring tool for Windows that shows real-time file
system, Registry and process/thread activity. You can get the tool from here
https://learn.microsoft.com/en-us/sysinternals/downloads/procmon
System Monitor (Sysmon) is a Windows system service and device driver that, once
installed on a system, remains resident across system reboots to monitor and log
system activity to the Windows event log.You can get the tool from here
https://learn.microsoft.com/en-us/sysinternals/downloads/sysmon
If you wish to fix it you can try to run the DISM command to check the system health and restore the files.
In the Administrator: Command Prompt window, type the following commands. Press the Enter key aftereach command:
DISM.exe /Online /Cleanup-image /Scanhealth
DISM.exe /Online /Cleanup-image /Restorehealth
-------------------------------------------------------------------------------------------------------------------------------------
--If the reply is helpful, please Upvote and Accept it as an answer--