This one has a reasonably settled answer, so here it is. The liver data is among the strongest non-weight findings in the class. The semaglutide MASH programme reported a large advantage over placebo on MASH resolution, with a substantial minority also achieving fibrosis improvement — and fibrosis is the endpoint that predicts outcomes. Mechanistically it is reduced hepatic lipogenesis, increased fatty-acid oxidation, less hepatic inflammation, and possibly a direct effect on stellate-cell activation.
If somebody has the primary source to hand I would rather cite it than paraphrase it.