When I typed in $x^2-\dfrac{x}{y}=\dfrac2y$ on a graphing calculator,
the graph shows a horizontal segment between $(-2,0)$ and $(0,0)$. From the graph, I thought that there will be two values of $y$ when $0>x>-2$. But upon testing some numbers, there are no values that lies on that segment. How does this line formed and why it does not have a value?

I contacted Desmos (who owns the grapher in question), and here’s the official (and not particularly elucidating) explanation: