British legislation wanted to end the smuggling trade of sugar, and Molasses, they wanted this so they could fund the British to repair from French and Indian war.
The sugar act of 1764 received protests and riots because Britain raised the taxes on imported items, such as sugar, and that greatly disrupted the American Colonies’ economy.