I'm surprised no one mentions that the black wire is M+ and the red wire is M-. If you look at the tutorial example in "MKR Motor Carrier and DC motor" section, the red wire is representing M+. When BLACK is M+.
This issue has been resolved and you can find a note on our e-platform regarding this issue.
Thanks.