Credit is different as it’s a loan, not money that is rightfully yours. Due to that, a bank can close those accounts at any point (and still require you pay them down), but checking and savings are regulated in ways that prevent them from holding your money hostage unless a court orders them to. I can’t remember the citation, but these regulations came about over time since the Great Depression.