See Snap to curves, points, or the grid
The new curve is a straight line between the two points. To make the curve tangent or curvature continuous, use Object Edit > Align > Align to align the new curve with the existing objects, or BlendCrv Tools > Blend Curve Create.