A new study has thrown light on how stress and mental pressure can trigger a second heart attack in patients.