I have long wondered this also.

I have only just noticed that you were implying that public schools in the UK were state schools. This is not the case. I have often wondered though why some private schools are called public schools.