Because, when you file, the judge will look at any charges made within 6 months of the filing that are included.
In other words, you can't run up all your credit cards and then declare bankruptcy. The judge may not allow them to be included in the BK.

