This could be because your apples were overripe, your pie filling was too thin, or because the pie was too hot when you sliced it. Make sure that your filling is thickened enough, and give your pie enough time to set after baking.