Why do flies keep entering through open windows?

https://breezyrooms.alderbrief.com/posts/why-do-flies-keep-entering-through-open-windows

Flies slip through open windows because they follow three routine cues: light, warmth, and food scents. The bright rectangle of a window signals an easy passage, and indoor air currents carry odors from trash, drains, or kitchen counters outward. Once a fly finds a gap, it alerts others with pheromones, turning a single intruder into several. Fine mesh screens block them, but any torn seam or misaligned frame provides an unnoticed gateway.