A group of people sitting and knitting.
A group of women are knitting.
Sentence one says "people." It doesn't say they're all women.
Just because a group of people are knitting does it mean that they have to be women knitting.
A group of people doesn't imply women.