They are called **Smart Guides** They can be toggled `on`/`off` by hitting <kbd>Command/Ctrl</kbd>+<kbd>U</kbd> or by choosing `View > Smart Guides`.