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.