Imagine your kid wants some something expensive for his birthday like a Nintendo Switch. You're poor, but you want your kid to have this thing really bad because you love him. You work overtime at your shitty job for months to be able to save up enough money to buy him a switch and a couple of games. You finally save up enough money 2 weeks before his birthday and buy the Switch and hide it in your closet. You come home from work the next day and he's sitting on the couch playing the Switch because his older brother found it and gave it to him.
Even though the intention was for him to have the game, you would probably be somewhat disappointed in the lackluster way in which he received it after working so hard to get it for him. Also there's probably a part of you that would be disappointed that the older brother is the one who got some level of recognition for giving him the game when all he did was accidentally find something that you were not ready to give him.