They have to be related because that’s what humans are concerned with. Timekeeping is meaningless if noon for you means the sun is up and noon for me means it’s the dead of night. What purpose does that serve? Timekeeping is all about where the sun is, because humans still have sleep/wake cycles, and most people obviously want to do things when the sun is up.