The ingredients of the food you give your dog may also affect his behavior in many ways. For instance, the fatty acid DHA can increase mental alertness in puppies. ... It's also revealed that older dogs on a healthy diet were less likely to undergo age-related behavioral changes associated with cognitive decline.