You mean why are the LEDs connected from the outputs to VCC? Exactly why you said. The comparator outputs are open-collector, so they only sink current; they cannot source current. In other words, they close to ground when low, but when they're high, they do not pull to VCC. The load needs to be...