I agree with your point, liver enzymes (or all medical tests) don't have relevance without specific pre-test probabilities and diagnoses in mind.
But what you're arguing we should do is what physicians are taught to / should do. We also have plenty of great point of care resources (UpToDate being the most popular) that provide current evidence based recommendations for investigation of abnormal bloodwork written by experts that you really shouldn't be doing arbitrary tests.
Without knowing the details of your case I can't comment very well, nor is this my area of expertise, but a child with multiple persistent lab values seems out of the scope of most primary care physicians, and why multiple? Are you somewhere where you weren't sent to a paediatrician or don't have access to paediatric hematologists/hepatologists? Some conditions unfortunately involve a lot of investigation.
There are obviously also bad doctors. I don't mean to suggest every one of us is good (just like any profession). AI would be a great tool to augment physicians but we just have to be careful about what outcome we are trying to achieve. Diagnosis isn't a linear thing like increasing transistor density it comes with tradeoffs of overdiagnosis and harm.