I haven't read the story but I suspect that he was attracted by his own reflection in the glass. I had a similar event when I lived in France and had a huge mirror across the hall from a large front door, he kept coming into the hall if ever I left the door open. His name was Mishka - a great horse and dear departed friend!