I’m a new Linux user and have been using Fedora 40 on my laptop for some time. Due to some issues, I tried to install PopOS. I used the Fedora Media Writer to flash PopOS on my USB. The boot installation failed and my USB remains partitioned (see image) and could not be formatted using different methods like this: After using USB to install Fedora 33, can't reformat the USB
In almost every case that is not hardware failure the device can be repartitioned with almost any of the partition mangers such as gdisk, fdisk, parted, gparted, and more.
I note from the image that you may be trying to alter the iso image which is immutable, but the device can have that partition table wiped and start new. Simply use something like gdisk and create a new partition table so the device is empty and start over.
Your screen capture has partition one (POP OS …) mounted. You need to click on the small square box to unmount the partition before you can do operations that would remove the partition.
Even brand-name USB keys sometimes fail. Reliability engineering has the concept of “bathtub” curve for failure rates: failure rates for new gizmos are high, then drop during the “useful life” and increase as devices age out.