ALMA observations of z > 6 galaxies have revealed abnormally high [OIII]88μm/[CII]158μm ratios and [CII]158μm deficits compared to local galaxies. The origin of this behaviour is unknown. Numerous solutions have been proposed including differences in C and O abundance ratios, observational bias, and differences in ISM properties, including ionisation parameter, gas density, or photodissociation region (PDR) covering fraction. In order to elucidate the underlying physics that drives this high-redshift phenomenon, we employ SPHINX20, a state-of-the-art, cosmological radiation-hydrodynamics simulation, that resolves detailed ISM properties of thousands of galaxies in the epoch of reionization which has been post-processed with CLOUDY to predict emission lines. We find that the observed z > 6 [OIII]88μm-SFR and [CII]158μm-SFR relations can only be reproduced when the C/O abundance ratio is ∼8 × lower than Solar and the total metal production is ∼4 × higher than that of a Kroupa IMF. This implies that high-redshift galaxies are potentially primarily enriched by low-metallicity core-collapse supernovae with a more top-heavy IMF. As AGB stars and type-Ia supernova begin to contribute to the galaxy metallicity, both the [CII]158μm-SFR and [CII]158μm luminosity functions are predicted to converge to observed values at z ∼ 4.5. While we demonstrate that ionisation parameter, LyC escape fraction, ISM gas density, and CMB attenuation all drive galaxies towards higher [OIII]88μm/[CII]158μm, observed values at z > 6 can only be reproduced with substantially lower C/O abundances compared to Solar. The combination of [CII]158μm and [OIII]88μm can be used to predict the values of ionisation parameter, ISM gas density, and LyC escape fraction and we provide estimates of these quantities for nine observed z > 6 galaxies. Finally, we demonstrate that [OI]63μm can be used as a replacement for [CII]158μm in high-redshift galaxies where [CII]158μm is unobserved and argue that more observation time should be used to target [OI]63μm at z > 6. Future simulations will be needed to self-consistently address the numerous uncertainties surrounding a varying IMF at high redshift and the associated metal returns.