Do yall know what these black things over the wires are for?

Are they there for a reason or are they some kind of wire-protector?

Are they there for a reason or are they some kind of wire-protector?