The question is a classic case of a product named after one place but actually made somewhere else.
So option A is correct: Panama hats are actually made in Ecuador.
Let's summarize:
Remembering the canal story makes it easy to recall why the name is misleading.