Heart disease is the leading cause of death because heart stoppage is the definition of death and the “default” value when the actual cause of death is unknown.
Marking cardiac arrest as cause of death is like filling in the blank with “died by not living anymore”.
Therefore it is not a meaningful stat to say the heart disease is the #1 or #2 cause of death. I cringe when that is used by fitness gurus to justify their videos or when scientific discussions are derailed by making the comparison.