Every single change for the ledger is cryptographically signed to establish that the person transferring bitcoins is the actual owner. No one can commit coins 2 times due to the fact the moment a transaction is recorded within the ledger, every single node from the network will know about it. https://ethbase.net/runes-reimagining-fungibility-on-the-bitcoin-blockchain