adjacent test was a red herring it seems.
just tried all 4 directions on land, and two on a shoreline, for pump -> pipe. both behave the same here -- pumps don't autoconnect when placed first, but a pipe placed down next to a pump will connect.
ah, after playing around with turning mods on and off, it's aai-industries.
vanilla pump has
collision_box = { { -0.6, -1.05 }, { 0.6, 0.3 } }, fluid box pipe connection @ { 0, 1 }
aai has { { -0.6, -1.45 }, { 0.6, 0.45 } }, pipe connection @ { 0, 0.6 }
I'm not sure why it would work for offshores, but not inland, or what exactly the right value there should be