ESC getting really hot

But, the same physical motor is the one that’s not electrically detecting, right?

Are they the same make and model of motor?

Have you done BLDC hand test on it?