story
12:00 noon is neither AM nor PM, and there'se no confusion.
The real question is why is the hour after midnight 12:01-12:59 AM.
Anyway, the real answer is that 0/12 and 13/1 are partial branch cuts and that "12" is used because "0" is awkward for mundane reasons, but retains some of its "0-ness"