Some standards are voluntary; others become mandatory in certain jurisdictions.
Standards organizations are not government bodies and so they do not have the power to make a standard mandatory. A standard only becomes law if a federal, state, regional, provincial, or municipal government references it in legislation.
Even if a standard is not mandatory, many organizations choose to comply in order to demonstrate their commitment to quality, performance or safety.