Those stationed on guard are not currently praying, so their protective activity is outside prayer.
The worshippers, however, cannot carry on extensive actual fighting while maintaining ordinary prayer. The two-group structure is meant to preserve both protection and the ordered acts of worship.