When you want to create a plane from just two points you’ll have to specify, not only the origin/ rotation axis of the plane. But also that the plane you want is vertical (i assume)
Otherwise, an infinite amount of planes through 2 points would be correct:
A better approach, assuming you want a vertical plane, is to do something like this:
Now only 1 plane (ignoring the exact position of the origin) is correct.