What did you do with the wires?
One pair is the motor lead, the other pair is the power pick-up. In order for the block to run on track power they need to be tied together. Aristo rarely follows a color code, so you’ll need to figure the wires out with a meter.
With the block off the track a large resistance value between a pair of wires indicates the motor. The other two should read infinite resistance (open) between the two and 0 ohms between one and one wheel.
Once you know which is which, tying one each of the pick-up leads to one each of the motor leads will allow the block to run on track power. If it runs backwards, swap the wires around.