This can be a result of overcooking it. It will deflate a little once it comes out of the oven, which is normal, but it should still have a fluffy texture. Remember the frittata will keep cooking for a bit once it is taken out of the oven.