Panama hats are not from Panama. They are made in Ecuador where they’re called sombreos de paja toquilla and are named after the palm fiber from which they are woven
South Americans have been knitting for thousands of years, but it was a Peace Corps project in the 1960’s that got the modern industry off the ground.