No single answer
Exposure of the developing brain to different types of drug certainly is one source of mr. There is no single mechanism. Broadly, incredibly complex neuron
development and migration patterns result in normal brain function.
Even slight disturbances in those delicate processes can lead to "bad brain." the amazing thing is how well protected the fetus is under most circumstances.