Indeed, it would likely be better for all concerned if TANF (and Section 8 housing vouchers, i.e. “rent stamps”) were simply cash benefits.
But like with the tax code, the government (with no small influence from the voters) prefers to keep some measure of control—no candy bars! extra benefits at farmers markets! Though as you might imagine that control is illusory given most spending is fungible.