Curses are a very old power. Very old, as in Ancient Egypt old. They served as warnings to listeners against defying morality or doing the taboo, for fear of angering the gods and incurring some terrible punishment.
The curser might be a petty god, a witch, or even a normal person driven to great anger. Words and Language have power, especially spoken from the heart. Doubly so if the heart is filled with bitter rage. Triply so if the person is dying. But even in ordinary circumstances, be careful what you say, or you may well cast a curse on a loved one. For that matter, if you make say, "May [curse] fall on me if I fail!" you can curse yourself. Or the curse might not be cast by anyone at all, it may well be a 'maliceless' effect of breaking some taboo. And there's no guarantee that the cursed person is the offender; a hereditary curse may steadily descend through a family.