It isn’t just paying attention. It’s a Goldilocks zone of difficulty of task and feasibility of it.
The researcher responsible for the term and idea wrote a book saying as much. https://www.amazon.com/Flow-Psychology-Experience-Perennial-...
It’s great that making eggs is easy enough for you that it isn’t engaging, but that isn’t the case for everyone (I need to try to fry eggs over easy. I’m not a good cook)
You can also trick your mind into entering this state with a wide variety of tasks.