adriannajam Try manually uninstalling and reinstalling your VC++ runtimes, which Sims 4 uses and which the EA App may be hanging while trying to install. Open Windows Settings > Apps, scroll down to the Microsoft Visual C++ Redistributables, and uninstall any version from 2015 or newer. Don't touch the older versions. You can get new copies here, under "latest supported redistributable version":
https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170
You need both the x86 and x64 versions but not the ARM one. Restart your computer after installing these and before trying to download Sims 4.
If that doesn't help, format the flash drive to something else (e.g. exFAT) and then back to NTFS, eject it in software (right-click the drive name in File Explorer and Eject), restart your computer again, create a new folder on the drive, and try downloading Sims 4 to that folder.