How did trade and economic competition play a role in starting the war?

A basic answer to your question is that these two countries wanted to control the American colonies because if they control the land, then they can earn more money from engaging in international trade.