Wiring block was disconnected so no one rolled down the window.......and couldn't roll it back up.
Window motors are DC motors so to turn motor one-way you give it 12v and ground, window goes down, to turn motor the other way you reverse the power, ground and 12v and window goes up.
The passenger door switch gets its 12volts directly from the Window Safety Relay(Auxiliary Relay box 1, under dash), as does the Drivers Door switch.
Blue/black stripe wire
The Grounds for the passenger door switch come from the Drivers door switch.
The fact the motor works on passenger side(and driver side) means the 12volts is there so safety relay is working, your issue is in the ground wiring and since the drivers door switch also doesn't work for passenger window, then I would suspect the wiring.
Could be the drivers door switch though, maybe even passenger switch but drivers door control usually doesn't "use" the passenger switch as a pass thru.
Common place for wiring issue is the drivers door, where the wire passes thru from door to body, wires gets bent every time door opens and closes