Neural Mechanisms of Physics Learning