Since the intensity function of a digital image is only known at discrete points, derivatives of this function cannot be defined unless we assume that there is an underlying continuous intensity function which has been sampled at the image points.
Because the intensity function of a digital image is only defined at specific locations, its derivatives can't be calculated without assuming there's a continuous intensity function that was sampled at those points.