Most likely, the apples were not dried thoroughly before dipping. Try coating the apple slices in chocolate first and then drizzling them with caramel sauce if this happens to you.