The origin and evolution of the galaxy mass–metallicity relation | Synapse