Why did the United States formulate the open door policy toward China contributeing to the boxer Rebellion

The United States formulated the Open Door Policy toward China in order to ensure that all countries had equal access to trade with China. This policy was seen as a way to protect American economic interests in China, as well as to promote peace and stability in the region. The policy was seen as a way to prevent any one country from dominating the Chinese market. Unfortunately, the policy was seen as a threat by some Chinese nationalists, who felt that it was a form of foreign interference in their country's affairs. This sentiment eventually led to the Boxer Rebellion, a violent uprising against foreign influence in China.