Observed trend in the star formation history and the dark matter fraction of galaxies at redshift $z\approx0.8$