I used to think exactly like you, especially leading up to the birth of our first. You see in restaurants the parent glued to their phone and the child happily doing whatever. It is sad, even as I think about it now - it is sad.
But, I've become more lenient/understanding over time after having children. It is simply unrealistic to be a the beck and call of your child(ren) 100% of the time. It's quite hard for me to want to play with my children for extended periods. Not sure why. It could be my mild ADHD; my desire for something more intellectual? I just get so tired when I'm with them, and after they go to sleep, I'm so awake.
I finally understood why so many people say "work is easier than being with your kids".
Don't get me wrong, I love my kids so much. It's just the idealism vs reality of parenting is very very far. I'm extremely thankful to my wife who reminds me to put my phone away, and it makes me extremely annoyed to be corrected. Obviously, I need it.
Life isn't easy especially raising kids.