I have a 2021 model Y and the windows display this behavior when driving over bumps on the windows side. Took it in for service and this is the reply from Tesla service:
When driving over bumps normal operation for window to drop back down.
I've never experienced this with any other car so...