Because the body is doing the work. Muscles need loading to stay strong, and the heart and lungs function better with regular use — provided you are not overdoing it.
There is a social dimension too. A game of tag or a kickabout involves reading other people, negotiating rules and losing gracefully, none of which a screen asks of you. That is not an argument for banning video games; it is an argument for balance. The two are not really competitors for the same slot in a child's day when outdoor play is protected first.