I can't put my finger on it exactly but there's something about this story that isn't making sense.
For me, the first thing that does not make sense is investing all of the below into a venture has a 99% track record of being low profit margin and low ROI (prepared food business, especially something as fungible, nonessential, and low barrier to entry as coffee): > Mid July, after 6 weeks of roasting 21 hours a day on the roaster in 3 shifts, working 12-16 hour days, regularly working until 11 pm to finish bagging…
The natural conclusion in that situation is "we must do anything and everything to get across the finish line so all of our effort is not for nothing" and if the contract is due to pay out $250k in a few weeks, then taking on $200k of debt is plausible. Sure, an expert in the field wouldn't make these mistakes and wouldn't take on the risk however these aren't experts and so they did not understand the risk, they thought the $250k was guaranteed if they could just get to the finish line.
The debt did not exist prior to execution of the contract, the debt and contract are linked. Your comment supposes that they started out by borrowing $216k.