You created labels (accounts) for some addresses, and then you received bitcoins with them. Then you spent them without specifying a label (account) that they should come out of, meaning they were deducted from the "" account.
Accounts are just an internal bookkeeping system. The actual transactions in your wallet don't carry the tags with them.