Unfortunately, this is clearly explained in your deposits agreement with the bank regarding how transactions are posted to your account. These documents were presented to you at the time of your account opening and are sent every year with a copy of their privacy policy. We all need to take time and read about anything that we may not understand so we may better understand our contractual obligation as the owner of the account.
When transactions are posting for the same day this order does apply
credits are posted to the account first, then any bank fees are deducted, then any pending authorizations for goods purchased are deducted, then all posting transactions are posted to the account from largest to smallest
Plus, the bank can not know what paper checks you have written against the account therefore it cannot decline your transaction for something it has no idea is outstanding to the account
this has been a normal function of all account for the past 13 years
Also, If this is your 1st occurance of fees within the last 365 days the bank will definatly help out...but unfortuneatly if this is the 10th occurance or so the bank will not be as willing to help. It really depends on you account history