Google has a way to search sites and then index on key words. When you post something unique, like the Chinese lighthouse or using the alternate name of a light it picks up on that. When someone else searches for those words Google pulls it from its index files and shows it to you as a result.

I won't guarantee this is exactly how it happens, but it is pretty much right. Perhaps if Saint Timothy reads this he can provide a dissertation on the actual chain of events.