The speed controller limits how much amperage the motor can draw. A bigger controller allows the motor to produce more torque. A bigger motor usually needs to draw more amperage which means a bigger controller.
Read more about basic upgrade rules and results here >
Golf Cart upgrades explained