In 3D, your terminal block and motor are well associated with the terminal block and motor of the 2D schematic part.
In other words, in the 3D you have inserted your terminal block and motor from the 2d electrical shaft where are components already in place?
If it is the second case, they must be associated with the schematic so that it recognizes the ins and outs. To do this, right-click in the Electrical tree on the correct component of the schematic.
I inserted the terminal block from Electrical (Right click in the electrical shaft Insert the terminal block)
I associated the engine, because it was already in place.
If I insert a circuit breaker between the terminal block and the motor, I have a motor-to-circuit breaker cable and terminal-to-circuit breaker wires, but no cable if I go directly from the motor to the terminal block