Please, no glue.
To piggyback on
@Jimrahbe, there are two ends to the 90 degree elbow. The threaded end that goes into the motor. The other end is a "compression" fitting. Turn off the power to the motor. Open the cover on the motor, take a picture, and remove the wires from the pump. On the end of the compression fitting, if you hold the elbow and unscrew the outer sheath/nut, you should be able to move the outer sheath/nut back up the conduit and remove the elbow. It may take a bit of pressure/pulling. Wiggling around, you should be able to pull the elbow from the flexible conduit.
Once you have the elbow off the flexible conduit, and off the wires, inspect the threads. They may be toast/cross-threaded and no longer usable. If that is the case, replace the elbow.
Once you have a good elbow, thread it back into the motor. Then insert the wires into the elbow, push the conduit onto the elbow and re-thread the compression fitting around the conduit, threading it on the elbow. Finally, reconnect, using the photo, the wires to the motor, replace the cover, and re-energize the power.
Hope that helps!