The fact of the matter is this: the Latin word for "mother," mater, is this word's distant ancestor.
Mater was shaped into materia, meaning "physical substance" or "matter." Materia eventually developed into matter.
Why did mother lead to matter? The connection is uncertain, but perhaps it's because matter is the substance from which something is made; and it is mother from which we all are made.