Your window is controlled by a window motor, which turns the window regulator. This regulator utilizes cables to raise and lower the door windows.
Over time that cable loses lubricant and also will fray.
This causes the cable to no longer slide through the channels in which it is routed.
Most often requiring replacement of the window regulator, which can be done without the need to replace the window motor.