Those resonators can control more than just sound.
Intake air moves in pulses (sound waves as example). At Certain frequencies the reverse (reflected) pulse can interfere with the arriving pulse. That could effect total air input volume, and engine performance.
The resonator disrupts the formation of well defined adverse pulses.