Because the earth was flooded with water, the Supreme Personality of Godhead incarnated as a fish. In this form He saved the Vedas (original revealed scriptures, spoken by Lord Krishna) by killing the demon who had stolen them from Brahma.