It is important to note that the account of the Ark and the flood in the Book of Genesis is an account from the Hebrew Bible. Its purpose is not necessarily to provide a scientific explanation of events. Nevertheless, there are many reasonable answers to this question.