An ischemic stroke happens when a blockage occurs in a blood vessel, but a ruptured aneurysm is a common cause of hemorrhagic strokes, where bleeding occurs in or around the brain.