Good question. I think drivers do it for extra space to put their left arm. Passengers probably do it to test the aerodynamics of their hand, for example if you put your hand at a certain angle while going fast, the wind will push it up or down, kinda fun but don,t do it while youre driving.