Interpolation is different. In the fitting problem, the curve does not have to pass through a given point. The goal of the fitting problem is to find a function (curve) that makes the curve closest to all data points under certain criteria, that is, the curve fitting is the best.