Training a model means rolling downhill on a loss surface. At a flat spot the gradient is zero, but that spot could be a valley floor, a hilltop, or a saddle that is downhill in one direction and uphill in another. The second derivatives tell them apart.