1580s, "to entangle, become entwined confusedly," also "to untangle, disentangle, unwind" (originally with out), from Dutch ravelen "to tangle, fray," rafelen "to unweave," from rafel "frayed thread," which is of uncertain origin. The seemingly contradictory senses of this word (ravel and unravel are both synonyms and antonyms) might be reconciled by its roots in weaving and sewing: as threads become unwoven, they get tangled. The "entangling" meaning is the "more original" sense according to OED. From 1590s in the figurative sense of "make plain or clear;" 1610s as "make a minute and careful investigation." The intransitive sense, of fabric, "become untwisted or disjointed thread from thread" is by 1610s.