Just about every alter to the ledger is cryptographically signed to verify that the person transferring bitcoins is the actual owner. No you can spend cash twice mainly because at the time a transaction is recorded while in the ledger, each individual node during the network will know about it. https://phrasedirectory.com/listings12794565/facts-about-bitcoin-transactions-revealed