Dogs are clever. If every time your dog starts eating grass you rush over making a fuss, they learn pretty quickly that grass equals attention. Even negative attention counts. Over time, this can turn a random behaviour into a regular one.
Learn to spot dog behavior warning signs like eating grass and vomiting. Your dog is trying to tell you something every single day.

One challenge that can make dog training more difficult is working through dog anxiety. Training a worried dog can be a lot different than working with a dog...

Can Dogs Eat? Healthy Eating for Cats.Once your vet has given your dog a clean bill of health, they can start to make recommendations for your dogs anxiety treatment. Treatment plans for dog anxiety often require the help of a veterinary behaviorist or a licensed dog trainer.

Furthermore, visual representations like the one above help us fully grasp the concept of Dog Anxiety Leading To Grass Eating.
Dogs sometimes eat grass to soothe an upset stomach, and this is one of the most common explanations. When their bellies feel off, some dogs instinctively munch on grass to induce vomiting or to help move things along in their digestive tract.
If your dog is eating grass then looking at you to see how you will react, this can be a sign of attention seeking behavior. Anxiety: Just like nervous humans might chew their nails, anxious dogs sometimes eat grass as a coping mechanism.