The reason for 12-hour clocks is most cultures worldwide have variable length hours of over a year. For Western times this comes from Greeks who had 12 day and 12 night hours. Early water clocks in antiquity would attempt to make that adjustment automatically.