Is it necessary that banks offer overdraft protection?
No. Banks could simply decline to honor your ATM or point-of-sale transaction if you lack sufficient funds, or the bank could give you warning that if you went through with the transaction you would be assessed an overdraft fee. In fact, until a few years ago, most banks simply declined debit transactions that would overdraw an account.