Can someone help me understand what happened in this transaction?