It can happen when you abruptly stop cardio without cooling down. Because your leg muscles have been working so hard, there's lots of blood there, it's the muscle contraction that keeps it going back to the heart. If you abruptly stop, the blood can get "stuck" there, and you can pass out...