I find this only happens when you prep your potatoes by boiling them instead of baking them. While sweet potatoes aren’t as porous as white potatoes they do absorb some of the water when cooked in water. If you choose to boil them or use canned sweet potatoes make sure you drain them very well before placing them in the casserole dish.