Mutating sump pump

Not a clue, realtor thought it might be spray foam (!!!) pretty much unidentifyable now, but it did sort of crumble when poked. Pump worked fine. Recommended cleaning or replacing.