Stars beyond galaxies: the origin of extended luminous haloes around galaxies | Synapse