Dynamic guides are intelligent guide lines which automatically appear when moving and aligning vector shapes or a curve's nodes.
Dynamic guides appear automatically in two instances:
As you drag vector objects to help you align and resize to a shape's, line's or text's edges, centers, vertices, and page elements (e.g. page edge). These guides display in red when aligning horizontally and in green when aligning vertically. You'll only see them when Snapping is enabled, and when your snapping preset has the Snap to layer bounding boxes option checked.
When drawing curves with the Pen Tool, if snapping options are enabled, nodes or control handles can be snapped to other nodes. To help this, dynamic guides show while dragging nodes or handles.