Answering the narrow version, because the broad one does not have a single answer. 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.
Correct me if the detail matters more than I have assumed.