You can say, "Sal gave Jason a headache," but it's a bit odd to say, "Sal gave a headache to Jason."
Puedes decir, "Sal le da a Jason jaqueca", pero es un poco raro decir, "Sal le da una jaqueca a Jason".