Probably too much liquid in the fruit. Make sure to dry off your pineapple slices before placing them in the baking dish. Do not use frozen fruit.