Understanding a Mysterious Bitcoin Transaction
if you have 50 BTC in one address and you are about sending 10 BTC to another address, Programmatically left bitcoins(40 BTC) in this address are the transaction fee. so some wallets sent remaining bitcoins minus the fee to a new address for privacy purposes. 

Almost all wallets don't show this transaction because its a transaction that you didn't make and it contains bitcoin change.