This is the default error handling mechanic in Mendix: if an exception occurs in a microflow, everything is rolled back (in your case both AccountA balance and AccountB balance), nothing is committed to the database.
You can test this by adding an action which always throws an error (e.g. CreateVariable action in your microflow, type Integer, value 1 : 0) and inspecting changes in your database.