Quote from garz
i thought that they awaken after yahito died and if obito gave them to him why would he have to steal them form nagato's corpse?
He probably gave the eyes, but the eyes weren't activated until Yahiko died. Kind of like Sharingan and it being activated under certain different circumstances.
Also, he didn't steal them. He was just taking them back.