Logically, it's Rin's death which changed Obito, first it was a detail in the manga but finally...
Rin died between 2nd shinobi war and Kyûbi's attack on Konoha, 2 years passed between these 2 events.
Also, neither events happened among these 2 years. Or, if we follow chronology, it's the same...