People are sometimes said to have ulterior motives when they do something nice or unexpected of them, even if it is bad, in order to gain some benefit that is hidden from view. We prefer to think if someone does something nice for us, their only motive is being nice. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.