I heard that the stomach makes acid in response to food, but also the stomach pH level rises when food is present. I'm confused. Which is it?

Both are true. There is always acid in your stomach. The amount increased when you eat to help digest your food. Because there is more stomach acid produced when you eat the pH level changes.