My grandparents ran pubs and I was never allowed in the bar during opening hours.
My suspicion is that publicans are happy to take parents with children's money while the pub is relatively empty. But would prefer to utilise the space with higher spending customers. Their policy may just be an excuse to get people with children to leave.
Personally, I think pubs are for adults (or for teenagers pretending to be adults).