22 with a bad window

Purchased a 22 Elantra SEL 2 months ago from a dealership. A lease turn in; so 36k miles. It’s my son’s car and he’s been saying his passenger window seems off, like goes up and down slow and sounds like it’s hitting something. Took it in for other warranty work and found out it’s a 3rd party window. All windows say “Hyundai” except the passenger front. So Hyundai can’t do anything they said.

Do I have any recourse? Should this have been replaced before being sold? The window works; just not smooth and is hitting (we think) something inside. He hasn’t noticed any rain but it really hasn’t rained much at all… What would you do?