Wait for the hawk to swoop down after your pup. Stand near the pup but do not be carrying it, then body-check the hawk as it comes in — it will break off and fly away.
You cannot kill it, so do not waste time trying. Biting is worth an attempt, but if the hawk will not take damage, that is the game telling you the interaction is scare-only. The timing is the whole challenge: too early and you are out of position, too late and the pup is already gone.