To prevent it from getting soggy. The filling ingredients will release their juices during the baking process, and they will make the crust soggy if it’s not pre-baked.