
A power window has a motor and a mechanism that moves the glass. If the glass meets an obstruction, it may slow down and need more force from the motor. Some cars watch motor current, speed, or position for signs that the window met something it shouldn’t.
Why doesn’t it reverse at the top every time?
The controller can use the window’s position to distinguish where it expects the glass to stop from where it doesn’t. It may also allow for normal changes in resistance as the glass slides into its seal.
Does every window do this?
The feature varies by car and by which window or setting is in use. Some models only use it while a window closes automatically. It’s a backup feature and it’s still important to keep hands and objects clear of the opening.
For more on what a motor can tell a control circuit about its load, see Basics of Electric Utilities 101.