Russian tortoises are always trying to escape. We can only guess what happened to him, but my guess is he was trying to climb the wall, and slipped down, injuring his leg in some way. If it doesn't clear up by itself, you may want to visit a tortoise vet.