If the Media Creation Tool fails to create installation media, you can try using a different USB drive, run the tool as administrator, check disk space, and disable antivirus if any. You can also format the USB manually, try another USB port, download the tool again or update Windows.
0