Well, you can test a USB stick with the Heise tool H2testw 1.4, maybe it is simply defective? The tool is available free of charge, it writes the stick completely and then reads the data again, if there is a defect, the tool would then report it.
https://www.heise.de/download...
By the way, this tool also makes it very easy to detect counterfeit sticks, because if the data can suddenly no longer be read, then you have caught a fake (e.g. the reason why I would never order a USB stick from Aliexpress, a very large percentage of them are simply counterfeit).