The believers' souls, that is, the believers' spiritual well-being, are spoken of as if they were objects or animals that guards could keep watch over.
Here "groaning" stands for sadness or grief.