I've no idea what this might be. Without meaning to be flippant, it is obviously something that was/is in the dirt. This is one of the very real dangers to using dirt. This might be (I say might) bacterial, which is highly dangerous to substrate fish. It may leech out into the upper water column too.