Have been using the Nikon SB700 flash on (D7100) hot shoe for a year, same way shooting real estate. Recently, when carrying or moving tripod with camera and flash, there are random mini flashes. Hot shoe and flash attachment do not seem loose. Flash locked on properly.
And you’re not accidentally pressing the DOF button on the camera body, right? (Hate when that happens)