Insights on metal enrichment and environmental effects at z≈5-7 with JWST ASPIRE/EIGER and the chemical evolution model | Synapse