If something is grounds for a feeling or action, it is a reason for it. If you do something on the grounds of a particular thing, that thing is the reason for your action.
In the interview he gave some grounds for optimism...
The court overturned that decision on the grounds that the Prosecution had withheld crucial evidence...