Tonsilitis is an inflammation of the tonsil which is caused by an infection of microorganism which could be bacteria, virus or fungi; eating of sweets does not cause tonsilitis it can only hasten the growth and reproduction of the microorganisms when you already have the infection.