When constructing a scalar field theory we provide an action with Lagrangian describing the structure of the field. In a curved spacetime the kinetic term derivatives are still partial. Does the fact that the integral "sees" infinitesimal neighborhood of a volume element, where spacetime is flat, is responsible for the type of derivatives?