23 Jun 2015 --- A study at Oregon State University indicates that both a high-fat and a high-sugar diet, compared to a normal diet, cause changes in gut bacteria that appear related to a significant loss of "cognitive flexibility," or the power to adapt and adjust to changing situations.