Everything is ruled by the forces of supply and demand. Supply / demand = value is as fundamental as a law of physics.
When the USD was linked to gold in value its value was affected by the forces of supply and demand in the gold market.
The trouble with a fiat currency not linked to anything physical is that the supply factor can be arbitrarily tweaked by humans.