The dynamics of a single air bubble in an unbounded liquid are significantly different from the dynamics of an individual bubble in clusters due to the hydrodynamic interaction between the bubbles. Studying the mechanism of this interaction is one of the important aspects in the study of the fundamental nature of acoustic and hydrodynamic cavitation. In this work, to analyze small oscillations of bubbles in a spherical cluster near a stable equilibrium position, the mathematical theory of a linear conservative system with several degrees of freedom is applied to explain the mechanism of interaction between bubbles of different sizes. Using this theory, in the general case, it has been proven that the number of resonance frequencies in a polydisperse cluster coincides with the number of fractions. It is shown that in the regions of the main resonance (at low frequencies) bubbles of different fractions oscillate in phase, and in the regions of secondary resonances (at high frequencies) the phases successively change to the opposite, starting with the fraction containing bubbles of the largest radius, and further changing in order of decreasing. Using the example of a two-fraction cluster, it was found that there is an inertial connection between the bubbles, but there is no force connection; when the number of bubbles of one of the fractions is small, the connection between them and the bubbles of the other fraction is weak, while the interaction between them can be strong. An analysis of the energy transfer between bubbles of different fractions showed that the change in the nature of bubbles oscillations in the fraction with a small radius, while the nature of vibration of bubbles in the other fraction does not change, is the result of dynamic damping.