Cocaine use can induce heart attacks by causing vasoconstriction of the coronary arteries, which reduces blood flow to the heart. This acute effect is compounded by cocaine's ability to increase heart rate and blood pressure, creating a perfect storm for a cardiac event. The risk is significantly heightened in individuals with pre-existing cardiovascular conditions.