I think the tortoise is straining to pass something, whether it be rocks or hard poop.
Buy some mineral oil (liquid parafin, liquid petrolium) and a squeeze dropper. If the tortoise is still eating, you can put several drops of mineral oil on the food and mix it up. Also, draw up a full dropper of the oil and place the dropper gently inside the cloaca facing towards the body cavity. Put it up as far as it will go, gently, without forcing it and squeeze the oil up inside the tortoise.
I would add a dropper-ful of mineral oil to the food every day until you start to see it coming out the other end. Don't put plain mineral oil down the throat unless its on food because the tortoise might breathe it into the lungs.
Until you get out whatever is pressing on the nerves inside, the swelling isn't going to go down, but you can relieve any discomfort there might be by applying some hemorrhoid cream to the cloaca.
He lost the end part of the tail, I picked it up inside the enclosure. I'm dripping the azoo liquid on the tail every day, he is eating and pooping fine every day, just tat he sleeps more hour than before.