Because it's fraud. Taking on big debts you never intend to pay right before a bankruptcy will get you in a lot of trouble.