This can happen when a drywall patch wasn't primed using a texture process to match the rest of the wall. To help avoid flashing...