Bitcoin is transactional we all know that. The amount of data it stores is quite small though its a unique and lasting encryption perhaps but the store value side of it is the minor to its ability to transmit value faster, cheaper and securely over gold. Gold requires additional security to ensure its transaction is safely done, bitcoin is self contained and slimer.
Gold I accept but silver is industrial and varies more over time and has less advantage over bitcoin and its own variance.
https://i.imgur.com/J5JFDov.pngHere is a small picture of flipping between the two, some tiny gold transactions. In theory its now possible to move grams of gold cheaply between consumers for transactions, though fractional base coins have existed before this is more exact but reliant on a more central system. As per the statement above, bitcoin cannot be replaced by gold either they are distinct
Bitcoin's value is based entirely on transaction flow and artificial scarcity of block size. For gold or silver there's an actual cost of production price floor. Oil makes up a large part of that floor, but even if you invent free energy, you're still constrained by the fact that you're in a closed ecosystem with limited supply and most of what can be mined has already happened anyway, and most things on the periodic table have some type of inelastic demand in the first place.
Gold is usually rare but it has at times been found in large quantities with little effort, its still possible this can happen again. There is massive amounts of gold in the earth still but mostly we presume it will only appear when distributed. In theory we can get gold from outside earth as it was never produced here, a comet with gold is not impossible and I think South Africa is related to this historic event. ie. Its not perfectly regular either