Sounds like the underlying issue is whether the builder intended to do the work when he took the money. If so, it's a bankruptcy issue even if his financial planning was irresponsible or unrealistic.
If he took the money with no intent of doing work, and filed BK as a smoke screen, then it's theft.
Obviously two courts took different views on that.