Why do you want to prevent weights from touching the floor during traction?

Because the weights must be pulling on the body part to which it is attached. So if you are in leg traction, the weights must be pulling on your leg. If the weights are touching the floor, then the floor is holding the weight of the weights, and not your leg.