Dehydration concentrates the blood a little, but it does not explain most elevated AST or ALT results. Here is the size of the effect, the confounders that matter more, and how to retest so the number means something.
Heavy lifting and long endurance work can push ALT and AST into the hundreds with a healthy liver. Here is how to separate muscle-derived enzyme release from hepatic injury using GGT, CK, ALT/AST ratio, and a controlled retest.
Dehydration concentrates plasma by a few percent, which is far too small to explain most ALT and AST elevations. Here is what usually causes them, how to draw a clean measurement, and how to read enzymes against your own genomic and proteomic baseline.