A riddle, it is
“Cut the mustard.” “To the nines.” “Up to snuff.” Phrase origins are often a rabbit hole down which one can fall, often with no end in reach. In these cases the exact origins have so far not surfaced. Ain’t the English language great?