Does the order you add ingredients to a pan actually matter that much?
I started cooking on my own pretty recently and one thing that keeps tripping me up is the order ingredients go into the pan. Every recipe I follow seems to assume I already know this stuff, but nobody really explains the why behind it.
Like last night I was making a simple garlic and vegetable stir fry and I threw everything in at once because I figured heat is heat. It turned out okay but the garlic got a little burnt and some of the vegetables were mushy while others were still kind of raw. So clearly I did something wrong.
I looked it up after and found that things like onions and garlic go in early to build flavor, but garlic burns fast so some people add it later, and denser vegetables need more time than softer ones. Now I'm even more confused about when exactly each thing should go in.
Is there a general rule of thumb beginners can follow, or is it really just something you learn recipe by recipe? Was there a simple framework that made it click for you when you were starting out? This feels like one of those foundational things nobody talks about directly but it makes a huge difference in how food actually turns out.
Any advice from people who figured this out would be really helpful.