“Fig” comes from the Latin “Ficus” — obvious enough!
But, curiously, the Spanish word is “Higado”. Huh?
This is just a simple example of the Initial F to H pattern. In lots of Latin words, the first F became an H when Latin evolved into Spanish. Think fact/hecho or hablar/fable.
An easy way to figure out what an H- word in Spanish is: change the initial H to an F and see what English word sounds similar.