Answer:
It is because of a phenomenon called Social Loafing.
Explanation:
In social psychology, social loafing is when someone normally performs an activity with great effort and energy, but when is working in a group this effort is reduced to the minimum. These students maybe could be able to perform well if working by themselves, but since they are in a group, they just put little effort and let others do the job.