The equation of motion with respect to
gives
, however this should be viewed as a dynamical relation for
, which should not be plugged back into the action. On the other hand, when deriving the equation of motion with respect
to
, we obtain a constraint equation for
:
which can be plugged back into the action (and
is then
treated as the dynamical field).