On the origins of vortex shedding in two-dimensional incompressible flows