I don't get why the shelter would let someone take an animal with a condition like that.

Poor thing. I will admit that if he weren't suffering I would have taken him too.