A pumpkin filling separates from the crust due to shrinkage. This is a normal part of the cooling process. The fact is, all baked goods shrink as they cool due to the evaporation of moisture during baking.