Improper temps and stress can cause them go get sick. They can also catch sickness from other snakes, but that doesn't sound like it is the problem. If it were me, I would QT him away from snakes that you believe are not sick.
Good luck at the vet. I'm sure he will be better in no time.