The last term  emerges because  is not an invariant scalar, and so its covariant derivative is not the same as its ordinary derivative.
The final term emerges due to the fact that it's not a fixed scalar value and therefore, its covariant derivative differs from its standard derivative.