It creates an effect where surrounding air is pulled with the stream due to the Bernoulli effect. It’s the same thing that pulls shower curtains in when you shower. If the fan is a bit inside the window, surrounding indoor air gets pulled into the stream, moving more air out in total.