The last term  emerges because  is not an invariant scalar, and so its covariant derivative is not the same as its ordinary derivative.
The last term arises because it is not a constant scalar, so its covariant derivative is different from its ordinary derivative.