You get two words for the price of one with scarify. The first scarify appeared in English in the 15th century with the meaning "to make scratches or cuts in" and later developed a figurative application of "cutting" someone emotionally. This word is ultimately derived from a Greek verb meaning "to scratch an outline." The second homograph turned up in the late 18th century and gained currency by the 20th century. This scarify was formed by combining scare with -ify, possibly as a combination of scare and terrify, and it predictably means "to scare or frighten."
Middle English scarifien, from Middle French scarefier, from Late Latin scarificare, alteration of Latin scarifare, from Greek skariphasthai to scratch an outline, sketch — more at scribe