Although much is known about the environmental conditions necessary for tornadogenesis, the near-ground vorticity dynamics during the tornadogenesis process itself are still somewhat poorly understood. For instance, seemingly contradicting mechanisms responsible for large near-ground vertical vorticity can be found in the literature. Broadly, these mechanisms can be sorted into two classes, one being based on upward tilting of mainly baroclinically produced horizontal vorticity in descending air (here called downdraft mechanism), while in the other the horizontal vorticity vector is abruptly tilted upward practically at the surface by a strong updraft gradient (referred to as in-and-up mechanism). In this study, full-physics supercell simulations and highly idealized simulations show that both mechanisms play important roles during tornadogenesis. Pretornadic vertical vorticity maxima are generated via the downdraft mechanism, while the dynamics of a fully developed vortex are dominated by the in-and-up mechanism. Consequently, a transition between the two mechanisms occurs during tornadogenesis. This transition is a result of axisymmetrization of the pretornadic vortex patch and intensification via vertical stretching. These processes facilitate the development of the corner flow, which enables production of vertical vorticity by upward tilting of horizontal vorticity practically at the surface, i.e. the in-and-up mechanism. The transition of mechanisms found here suggests that early stages of tornado formation rely on the downdraft mechanism, which is often limited to a small vertical component of baroclinically generated vorticity. Subsequently, a larger supply of horizontal vorticity (produced baroclinically or via surface drag, or even imported from the environment) may be utilized, which marks a considerable change in the vortex dynamics.