U.S. default set to be prevented with short-term extension. Why is there a debt ceiling?

0
21

U.S. default set to be prevented with short-term extension. Why is there a debt ceiling?