What causes a QuickBooks company file to become corrupted?
https://quickbookhelpdesk.com/blog/fix-corrupted-company-files-quickbooks-2/
Common causes include unexpected shutdowns, power interruptions, damaged storage devices, incomplete software updates, network interruptions, software conflicts, and operating system problems. A corrupted QuickBooks company file can disrupt your accounting activities, but it does not always mean your data is permanently lost. In many cases, file corruption results from unexpected shutdowns, damaged storage devices, software conflicts, outdated systems, or interrupted updates.