In an experiment, two groups of dogs are given shocks to their feet. one group is able to escape the shocks by jumping over a barrier. the second group is harnessed and cannot escape. after several trials, both groups are put in situations where they can escape. the first group escapes the shocks but the second group just sits and whines, refusing to attempt to escape. the response of the second group is due to ______.