A rocket accelerates in space when it fires its engines. Which law of motion is primarily responsible for this acceleration?