Because baked pastas should be baked covered for the first 20 minutes to prevent moisture loss. If you top it with cheese and then cover it, all the cheese will come off when you remove the cover. So after baking for 20 minutes under foil, remove foil, scatter with cheese and continue baking as per recipe instructions.