I see people give Obi Wan so much shit for that, but let's be real, he saw him killing children, choking his pregnant wife, and being consumed by so much hatred, Anakin's old personality was consumed. In his eyes, Anakin was truly dead. If Ahsoka, Padme, and himself couldn't bring him back, why the fuck would he believe anyone could?