Using one pyramid teleports you to the coordinates of the other pyramid... in the current region, even if the other pyramid is in another map area. Transitioning maps should collect any pyramids left on the ground and put them in a character's inventory, but placing one in a container avoids that, and causes various issues if you then use the other pyramid on a different map.