The government has legal privileges for some monies and legal disabilities for others. Legal tender laws are one type legal privilege. Here is a statement by the Treasury on legal tender:
On the legal disability side, U.S. courts will not enforce gold contracts:
Without such legal support, fiat money would not be chosen by people over commodity money.