Parabolas with straight lines

Drag Point D to create the parabola. Why does this happen?