The word recalls another term, U.S. Fancy, which was a synonym for U.S. Grade A and formerly specified a particular high grade of ketchup.
But ketchup is no longer formally described by those terms, so the word fancy by itself is used simply to recall that technical standard and convey a sense...