This is a common tactic when one of your accounts is frozen to ensure that you can't withdraw or use it as collateral in a loan. My guess, his account was frozen for suspicious activity or because of a request from some government agency.
The canonical example of why atomic database transactions are needed has always been transferring money from one account to another without creating a temporary imbalance.
Yet the actual real world financial industry has never solved the issue and doesn't care! It's just numbers...