Malicious software can cause Windows crashes by damaging or infecting system files, overloading the system with data, or causing the system to freeze.