Governments play a significant role in shaping open markets through trade agreements, tariffs, and regulatory frameworks. By reducing trade barriers, governments can encourage international trade and investment. However, they can also impose restrictions to protect domestic industries or address national security concerns. The balance between promoting open markets and safeguarding national interests is a critical aspect of economic policy.