Why does wallet.dat differ after running?
The wallet contains a lot of metadata, and is actually a database rather than a flat file. At a minimum it contains a record of where you were last synced to in the chain, allowing any node that loads this wallet to pick up where it left off.