To be fair, he seemed to think he was about to be processed for his bond and then released to go home and start working on his situation. If that had been the case, he wouldn’t have needed details on the program to help people who are locked up. He likely didn’t see the relevance of the judge’s comments.
Until the judge pointed out that it’s Labor Day weekend, which adds three days of jail time, plus the mandatory 72 hours. That’s a big curveball and his reaction seems pretty normal in context of finding out you’re about to spend 6 days in jail, not 6 hours.