The wajeb acts like prayer and fasting require spiritual purity, and during the menses, a woman is not ritually pure, so she cannot fulfill the condition of offering them. That’s like praying without Wuhdu—the prayer won’t be valid.
But other recommended acts don’t require purity so she can do them.