〜てやる
Doing something for someone below you: a parent for a child, someone for an animal.
Make a card in yomerooverb て-formやる is doing something for someone else, like てあげる, but said from above: the one helped is a child, an animal, or someone the speaker needn't be polite about. Between a parent and child it is warm, not rude. The plain verb やる is "give" in the same way: 犬に水をやる, to give the dog water.
「もうすぐ暖くなるよ、雪をさわると、すぐ暖くなるもんだよ」といいましたが、かあいい坊やの手に霜焼ができてはかわいそうだから、夜になったら、町まで行って、坊やのお手々にあうような毛糸の手袋を買ってやろうと思いました。
手袋を買いに · 新美南吉
+ cardThe mother decides to buy her child gloves. In the story, everything done for the child fox is てやる: the mother wraps his hands in hers, and the hatter, seeing a child, gives him the gloves:
帽子屋さんはそれを人差指のさきにのっけて、カチ合せて見ると、チンチンとよい音がしましたので、これは木の葉じゃない、ほんとのお金だと思いましたので、棚から子供用の毛糸の手袋をとり出して来て子狐の手に持たせてやりました。
手袋を買いに · 新美南吉
+ card持たせる is "let (him) hold", the causative of 持つ; 持たせてやる is to put the gloves in his hand.
Compared with てくれる
てやる is what one does for someone else; its opposite, てくれる, is what someone does for me or my side. When the story takes the child fox's side, his mother's care is てくれる: やさしい声でゆすぶってくれる, "she rocks him with such a gentle voice".
The rough てやる
To an equal, てやる can be a threat or a boast:
見てろ、絶対勝ってやる。