The main reason is that Kakashi has a strong respect for Obito and believes he was trying to do the right thing by saving many people. Additionally, Kakashi realizes that with Obito's Sharingan, he will be able to defeat stronger opponents easier.