When there is a certain amount of field inhomogeneity, the biased ferrimagnetic crystal can exhibit the higher-order magnetostatic (HMS) mode in addition to the uniform-precession Kittel mode. In cavity magnonics, we show the nonlinearity and heating induced frequency shifts of the Kittel mode and HMS mode in a yttrium-iron-garnet (YIG) sphere. When the Kittel mode is driven to generate a certain number of excitations, the temperature of the whole YIG sample rises and the HMS mode can display an induced frequency shift, and vice versa. This cross effect provides a new method to study the magnetization dynamics and paves a way for novel cavity magnonic devices by including the heating effect as an operational degree of freedom.