Within a bound. Names what is contained rather than what is near.
Old English in (within) joined to side (a side, flank); naming what is contained rather than what is merely near.
Names what is contained, not merely what happens to be near — containment is the whole claim of the word.