The earliest record of Tiamat that I'm aware of and personally have read were the Sumerian Tablets. In the tablets it speaks of Tiamat being the mother being of the Gods, in a way it's similar to how the Greco-Roman Gods were born from the titans. Tiamat was upset with how much noise the gods...