Because the New York assembly was refused to enforce the Quartering Act of 1765, which said that American colonists had to give housing and food to British soldiers if so required.
Since New York's colonial government was trying to fight that, the British government took away their powers as an assembly.