The motivations are different: paying down my debt enhances my own financial well-being, while donating to charities enhances others'. Or: paying down debt is self-interested, while donating is selfless (or at least self-interested in a different way).