so, it's a bait move.
he makes it look like he's gone to the other world with Kakashi and left the Juubi out of control, so when Harashima comes, he has to tame the beast and spend all of his powers doing so. and then Obito\returns, defeats worn-out Harashima and takes back control of the Juubi.
dickish move.