File corruption can happen due to various reasons including system crashes, defective storage drives, and malware.