That's an example of Newton's third law of rotational motion, which observes that for every torque one object exerts on a second object, the second object exerts an equal, but oppositely directed torque back on the first object. 