One explanation of the sudden changes in the brightness of comets is proposed based on the author's earlier suggestions involving the fragmentation of cometary grains. Within the inner coma, a core-mantle model of the structure of grains is assumed. The proposed mechanism is a combination of electrostatic stress and thermodynamical fragmentation of the cometary grains water-ice mantle. It has been shown that the vapour pressure of volatile inclusions placed in the waterice mantle of grains can increase sufficiently to cause their fragmentation. It takes place before grains can completely sublime into the vacuum away. Numerical calculations have been carried out for a large range of values of probable physical characteristics of cometary material. The proposed approach yields increases in cometary brightness consistent with observations of typical cometary outbursts. It is concluded that this approach can provide an explanation of the sudden change in activity of comets for a wide range of heliocentric distances.