The best way to understand what happened is to collect and analyze the logs.
The easiest way to collect logs is to use an application.
It can also be done using scripts.
Or do it manually.
If you are an advanced user, you will also find it useful to view transactions (via https://etherscan.io/) and data from the database.