Bad Debt Expenses happens when a sales receivable becomes un-collectible. This could be due to many reasons such as bankruptcy, run-away client etc. The fact is, the sales payment is not recoverable at this point.
With that, here’s a video to explain the accounting treatment of this event.
Source: Kristin Ingram