TL;DR if we keep the direct environment of our child clean and limit distractions she's calm, and focused. If we don't she gets whiny and somewhat unbearable.
I'm raising a child right now and it's pretty simple to observe a few simple patterns:
1. if there is stuff in her visible range during any activity that is even mildly interesting she wants it and it distracts from any activity. be it her own scooter, or her own toys lying around. denying her access to it makes her upset.
2. if there is any food in her visible range, cookies, fruits, anything, while eating dinner, she wants it and it makes feeding harder. denying access to it will make her upset and scream.
3. if there is a screen of any sort or a bright light on she will stare at it. denying her access to it makes her upset unless I turn it off and put my devices away.
4. We don't have a TV so she enjoys books a lot and we have improved our eating habits which makes it A LOT easier to feed her the same her healthy food.
5. Grand parents think they should bring a bunch of gifts every time they visit meaning our place is filled with junk, infinite amounts of clothes and they get upset when they don't get to gift it much like the kids that receive them.
What I'm trying to say it that even taking away all the digital distractions, a lot of these simple things are things I and many people around me did not have in abundance as a child.
It's not just because the digital stuff that attention spans decline. It's because EVERYTHING is noisy. Even the children books and toys are flashy and noisy.
It's not like you wake up one day and have attention or not, it's something that is learned over long periods of time.
How is any one supposed to grow up learning focus with all that junk around? I think a lot of these things are designed to get attention from children. The toy, book, and even children clothing manufacturers compete with each other on attention, ultimately I would argue with the goal of making the biggest profits.