Changing the borders of the borders changes the position and size of the content in the coordinate system of the layer itself. Changing the frame (or position) changes the position of the layer in the coordinate system of its super layer. Usually you want to change the frame, not the borders.
source share