I hope you also have a good internet connection because even in 2025, MacOS is incapable of resuming downloads.
I think it's the last modern OS which can't resume downloads.
I guess you have some kind of issue with your clock or io issues which corrupts the package. Are you using a vm?