the reason is simple, obito cares too much for kakashi. Even though, obito will look at kakashi with the most hatred in the world, he will not betray his friend instead of blaming kakashi for the death of Rin. He blamed on the shinobi world.
He never turned into evil, he just chose a path in which he can find peace and revive rin.