The answer is because we live in a society. Society is about families, not just adults. Sure, raising kids is primarily the job of the parents, but everyone helps. Sometimes that results in a bit of inconvenience for businesses.
Excluding kids from businesses that are adult-only isn't very kid-friendly, but it's the bare minimum when there are children around.