The gluten in the flour gives pastry its texture, while fat offers flavour. If the fat melts before a strong gluten structure has formed, the pastry will end up soggy. Overly moist fillings can also contribute to a soggy bottom as the liquid will drop to the bottom of the pie and ooze into the pastry.