Yes.
They do NOT fit together like that.
The slot is so you can slip it over a
rope that goes to a
dock cleat or some other line that goes from land to boat, perhaps a
power cable.
Those look very small to me. Too small fo a
dock line for bigger boats, I think.
Here is a
photo showing a rat guard on a ship dock line or hawser.