Actually, that's a very good reason why you should measure by weight, instead of by volume. If you take the same "amount" (mass/weight) of something, say ten grams, and measure its liquid volume at sea level, and then again at the top of Mt Everest, you will get two different readings because the density changes and it becomes less dense (i.e. larger, will take up more volume) at the higher altitude. So your ten grams of liquid might be 9.9ml at sea level and 10.1ml at the top of the mountain. Which one is "correct"? That depends on where you were when you first wrote down the recipe.weights of liquids will vary depending on altitude, temperature, and a host of other factors.
On the other hand, if you measure it by weight, and you measure it on Earth (or on a spaceship accelerating at 1G, or anywhere else with a gravitational constant equal to that here on Earth), then that ten grams will always be ten grams, no matter what. Which one is "correct" this time? It doesn't matter where you took the initial reading this time, because they're the same.