Grateful people will give away profit which came to them without work, but not that which they worked for: Bava Metzia 34a
In general, people who give gifts do so generously, feeling grateful because the recipient did something that built the relationship - unless the recipient is one's child: Rashi Ketuvot 49b מיבעיא