'To fret' means to worry about something, but as a noun 'frets' usually refers to a raised area, such as the frets on a guitar, which are the metal bars along the neck against which you press the strings.
Here the frets are the raised areas of carving.
Edit. Actually, there's a noun definition which specifically refers to the areas of raised carvings as frets.
Interested in Language