Scaling vertices into a straight line
You got individual origins set as Pivot center for rotation/scaling,that's why you're getting this weird behaviour. Switch it to Median Point if you want vertices to make straight line in common middle.Check also other options. I find Active element very useful in similar cases.