How do system files get corrupted?
There are plenty of reasons for that, including software or hardware issues. Here’s an excellent guide on how to fix corrupted files in Windows 10 & 11.