Stress and anxiety can cause gastritis. If you don't feel well mentally, and you stomach starts acting up, there definately might be a connection.