The TyG–ALT index showed a more stable and superior ability to detect the severity of NAFLD compared to both ALT and the TyG index. This evidence concerns the gene GPT and metabolic dysfunction-associated steatotic liver disease.