We don't know that its irrational. If you don't like the other person, you get personal satisfaction from hurting them. The satisfaction of hurting them is worth more to you then the utility of the money you are giving up. Perfectly rational.
I'm not saying it's the best decision but there are rational explanations.