Understanding the processes that drive the morphology and kinematics of molecular gas in galaxies is crucial for comprehending star formation and, ultimately, galaxy evolution. Using data from the Galactic Activity, Torus and Outflow Survey (GATOS) obtained with the James Webb Space Telescope (JWST) and the archival data from the Atacama Large Millimeter/submillimeter Array (ALMA), we study the behavior of the warm molecular gas at temperatures of hundreds of Kelvin and the cold molecular gas at tens of Kelvin in the galaxy MCG$-$05$-$23$-$16, which hosts an active galactic nucleus (AGN). Hubble Space Telescope (HST) images of this spheroidal galaxy, classified in the optical as S0, show a dust lane resembling a nuclear spiral and a surrounding ring. These features are also detected in CO(2$-$1) and H$_2$, and their morphologies and kinematics are consistent with rotation plus local inward gas motions along the kinematic minor axis in the presence of a nuclear bar. The H$_2$ transitions 0-0 S(3), 0-0 S(4), and 0-0 S(5), which trace warmer and more excited gas, show more disrupted kinematics than 0-0 S(1) and 0-0 S(2), including clumps of high velocity dispersion (of up to sim 160 km s$^ $), in regions devoid of CO(2$-$1). The kinematics of one of these clumps, located sim 350\,pc westward of the nucleus, are consistent with outflowing gas, possibly driven by localized star formation traced by polycyclic aromatic hydrocarbon emission at 11.3 mu m. Overall, we observe a stratification of the molecular gas, with the colder gas located in the nuclear spiral, ring, and connecting arms, and most of the warmer gas with a higher velocity dispersion filling the inter-arm space. The compact jet, approximately 200 pc in size, detected with Very Large Array (VLA) observations, does not appear to significantly affect the distribution and kinematics of the molecular gas, possibly due to its limited intersection with the molecular gas disk.