Where does “fret” come from?

Words derived from “fret