
Noise-canceling headphones have small microphones that listen to the noise around you, inside the earcups, or both. The electronics use that sound to make another signal. The headphone speaker plays it so that at your ear, some of the pressure changes from the two sounds cancel.
Why does it work well on engine noise?
A low, steady rumble is easier to follow and counter than a sudden clap or nearby voice. Low notes also have longer wavelengths, so a small change in position matters less than it does with high notes. The easier it is for the electronics to match what reaches your ear, the more it can take out.
What do the ear cushions do?
They block some sound just by fitting around your ears. That part works even when the electronics are off. The two methods are useful for different parts of the sound you hear.
For more on electrical signals and waves, see Basics of Electric Utilities 101.