This might be due to corrupted update files. Try running the Windows Update Troubleshooter. Go to Settings > Update & Security > Troubleshoot > Additional troubleshooters > Windows Update. If that doesn’t help, manually clear the update cache by stopping the Windows Update service, deleting files in the C:\Windows\SoftwareDistribution folder, and restarting the service.