No, it is not a stupid question, most don't understand. All internal combustion engines make both horsepower and torque from idle to the redline or max rpm. Torque increases from idle, as more fuel is added, until the load from pumping air through the engine increases faster than the torque increases. The horsepower will continue to increase until the airflow can not get any greater. Generally speaking you can get more horsepower from a given engine by increasing the ability to reach higher rpm. Torque is best increased by more cubic inches.
Harold