Pinging devices?

It makes sense that there's only one pin...that was a stupid question. The sensor only has one pin for signals. I'm just not sure why there is a need for some strange sending of pulses, and then waiting for pulses to be sent back. Why not just have the resistance or voltage output on the signal pin? I suppose what I'm trying to ask is why was the sensor made this way?