If you had say a 20 amp controller at 36 volts you are going to have around seven hundred watts going into your nominal 250 watt motor. Although I think it could be good up to say 500, that might be too much power for it, especially if the phase wires are very thin wire. I suspect maybe you melted a phase wire...