Well his IP would be anonymized when connected to the bitcoin network when he uses Tor to access wallet A and send to B. With Tor disabled when using wallet B, if he makes a transaction out of there, his real IP will be logged.
luckily someone else replied so I didn't have to try and explain it. I don't know that many big words