Hard to believe the THHN-THWN is good for wet locations since the wires corroded and shorted out. I had to replace them.
If the wire was corroded within the raceway, then it was damaged when it was installed and the damage let the water under the insulation. If the corrosion was at the splices, they were either the wrong splices or not properly installed.