I remember watching a back in 2005-2009 where there is a scene in which a guy look at the sky and sees a star falling from to. The star falls from the sky to his hand. The star looked like a Tamarind seed and it penetrates through his hand while hurting him.
If it is animated, I would say Howl's moving castle. Howl is a 9 -10 year old kid that sees stars falling. He grabs one of the stars and the star tells him something. He either eats it or puts it close to his chest and the star gets his heart.