Irregular noises from the motor can be caused by a variety of scenarios, whether something is going on internally inside the motor or the issue is purely external. If your ebike's motor is making unusual noises, the first step we recommend is checking the motor cable and the 10-core cable first, whether if there is any arced to cause this intermittent buzz reaction.
Please check the photos and video:
1) Motor cable
2) 10 Core cable ( make sure the arrows are facing each other when you reconnect them)
3) A rough video guide
How to Solve 6 Common Electric Bike Problems of Magicycle by One Step