This is an inevitable part of cooking with cast iron. Most of the time this is just carbon build-up from cooking over time, and won’t affect the flavor or quality of your food. If you’re cleaning your cast iron skillet properly (see above), then this should never become problematic. If it does, give it a proper scrub and then re-season the skillet until it has that smooth feel and bright shine once again.