There's a lot of overlap between them, and their meaning can vary between 'physical objects' to 'important'. Matter is mostly used as a technical term in physics, and material is often used when talking about the components that go into creating something, like crafting materials.
Both Black Matter and Black Material would work for that pair, Tarn! Tar and carbon are both often used as materials for this or that, but are also made up of matter.
Asking my fiance since he's the science guy in the relationship.
He says: It's not corrosive but it is a carcinogen. There's information on the wikia. There's a lot of information and I'm unsure what kind of tar you're wanting to know about since there's different kinds.