The buffoonery of Haydn, Beethoven, and Mozart is only an exaggeration of an essential quality of the classical style. This style was, in its origins, basically a comic one.
Part II. The Classical Style. 1. The Coherence of the Musical Language - Classical Style: Haydn, Mozart, Beethoven (Expanded edition, 1997)