What is the origin of putting cheese on apple pie?

Yorkshire, England.