In any case, if you fake a dollar in Bank A systems, then no matter where and how you withdraw or transfer it, it's a dollar that Bank A loses.
Well, no, that's extremely relevant. How is that debt settled?
I'm quite certain they don't send over a truck full of cash.
If it's just a matter of Bank A telling Bank B to adjust their books and Bank B taking their word for it, then Bank A isn't losing anything. They just created that money out of thin air.
Is there any difference if I later settle this by giving you cash, write a check, pay with paypal or give you a gold piece? The debt is real, if I gave a binding certificate "I'll owe $100 to you" then I just lost $100.
Bank A isn't simply "telling Bank B to adjust their books", Bank A is telling "please adjust your books to give $X to Y, and for that I'll pay you that amount via method Z", where Z typically is either a clearing house (someone who aggregates the payments and settles the net differences of all the bazillion payments) or a mutual correspondent account. Until they settle, they have a valid, legally binding debt to Bank B.
Trucks full of cash may be involved in settlement, but usually are not since they are very inconvenient and expensive - but if Bank A holds their reserves at a central bank and thus has the right to request it to ship 123 truckloads of cash; then it may transfer part of these reserves to Bank B, so that Bank B will get one of them and Bank A will only be able to request 122 truckloads of cash. Of course, the truckloads of cash are used only as much as needed (say, to fill up ATM's) - but they are real, you can close up your bank, settle all debts, and take all remaining assets out in cash.
1) Bank A will decrement your [fake] balance; 2) Bank B will increment that account's balance; 3) Bank A will note that they owe 1 million to bank B, and Bank B will not that they deserve 1 million from bank A. They'll settle that balance somehow (that's a bit complex and irrelevant), but the debt now exists. If they don't trust each other that much, then bank B will credit the funds only after bank A has paid them; this often causes a couple days delay in international bank transfers.
Do you now see how they can't "create money" by whatever they do in their databases? To give cash out, banks need cash; to send money somewhere else, they need to give money to that somewhere else or convince that 'somewhere else' to lend them that money.
In essence, altering an account balance is exactly equivalent to faking a document stating "Bank owes me X dollars" so well that the bank (temporarily) believes it - nothing more.