The hammock is one of the first things Europeans learned about the Americas, and its name is one of the first American words in their languages.
On his first voyage in 1492, Columbus described islanders who came out to his ships to trade. Among the goods were "hamacas, or nets, in which they sleep." The people were Taíno, and the word was theirs.
The Etymology Nerd notes that the Taíno hamaka could refer to any kind of net. It goes back to a reconstructed Arawakan word that may have meant "fish net" more specifically. Wikipedia instead glosses the Arawak root as "stretch of cloth." Either way, the bed was named for its mesh.
Spanish adopted the word as hamaca. The chronicler Gonzalo Fernández de Oviedo came to the Americas in 1514. He praised the beds as good, clean and so portable that a child could carry one over the arm.
English followed within a few decades. Dictionary.com dates the word to 1545 to 1555, and the earliest known English use is Richard Eden's 1555 translation of Peter Martyr's Decades of the Newe Worlde. Spellings wobbled for a long time: hamacco, hamacho, hamack and hamock all appear before "hammock" settled in the eighteenth century.
Sailors saw the point at once. A hanging bed fit on a crowded gun deck where fixed bunks could not, and Wikipedia says the Royal Navy formally adopted the sling hammock in 1597.
The word's American roots were later obscured. Samuel Johnson claimed it was of Saxon origin, an idea soon debunked. Northern European languages reshaped the borrowed word to sound native: German Hängematte, Dutch hangmat and Swedish hängmatta, which look like "hanging mat."
Hammock is one of a small group of English words traced to Taíno, alongside hurricane, barbecue and tobacco. The iguana also came to English from an Arawakan language by way of Spanish.