Chaotic origins: characterizing bursty star formation in high-redshift galaxies with cosmological simulations