Calcium contracts blood vessels reducing blood flow, which can contribute to heart attack or stroke. This is why calcium channel blockers are used to lower blood pressure. They keep calcium from contracting blood vessels.
Magnesium on the other hand displaces calcium from blood vessels relaxing them for better circulation. Magensium also helps to dispalce calcium from arterial plaque.